Class BasicAuthenticationInterceptor
java.lang.Object
dev.voidframework.restclient.retrofit.interceptor.BasicAuthenticationInterceptor
- All Implemented Interfaces:
okhttp3.Interceptor
Provides Basic authentication mechanism.
- Since:
- 1.10.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface okhttp3.Interceptor
okhttp3.Interceptor.Chain -
Constructor Summary
ConstructorsConstructorDescriptionBasicAuthenticationInterceptor(String username, String password, boolean useIso88591Encoding) Build a new instance. -
Method Summary
-
Constructor Details
-
Method Details
-
intercept
- Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-