Class CustomHeaderInterceptor
java.lang.Object
com.devcycle.sdk.server.common.interceptor.CustomHeaderInterceptor
- All Implemented Interfaces:
okhttp3.Interceptor
Interceptor to inject custom headers into all requests based on an IRestOptions
implementation
-
Nested Class Summary
Nested classes/interfaces inherited from interface okhttp3.Interceptor
okhttp3.Interceptor.Chain, okhttp3.Interceptor.Companion -
Field Summary
Fields inherited from interface okhttp3.Interceptor
Companion -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CustomHeaderInterceptor
-
-
Method Details
-
intercept
- Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-