Class CachingAuthenticatorWrapper
java.lang.Object
org.infinispan.client.rest.impl.okhttp.auth.CachingAuthenticatorWrapper
- All Implemented Interfaces:
okhttp3.Authenticator
-
Field Summary
Fields inherited from interface okhttp3.Authenticator
NONE -
Constructor Summary
ConstructorsConstructorDescriptionCachingAuthenticatorWrapper(okhttp3.Authenticator innerAuthenticator, Map<String, CachingAuthenticator> authCache) -
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Requestauthenticate(okhttp3.Route route, okhttp3.Response response)
-
Constructor Details
-
CachingAuthenticatorWrapper
public CachingAuthenticatorWrapper(okhttp3.Authenticator innerAuthenticator, Map<String, CachingAuthenticator> authCache)
-
-
Method Details
-
authenticate
public okhttp3.Request authenticate(okhttp3.Route route, okhttp3.Response response) throws IOException - Specified by:
authenticatein interfaceokhttp3.Authenticator- Throws:
IOException
-