Class AutoDetectAuthenticator
java.lang.Object
org.infinispan.client.rest.impl.okhttp.auth.AbstractAuthenticator
org.infinispan.client.rest.impl.okhttp.auth.AutoDetectAuthenticator
- All Implemented Interfaces:
okhttp3.Authenticator,CachingAuthenticator
- Since:
- 10.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.infinispan.client.rest.impl.okhttp.auth.AbstractAuthenticator
AbstractAuthenticator.AuthenticationException -
Field Summary
Fields inherited from class org.infinispan.client.rest.impl.okhttp.auth.AbstractAuthenticator
WWW_AUTH, WWW_AUTH_RESPFields inherited from interface okhttp3.Authenticator
NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Requestauthenticate(okhttp3.Route route, okhttp3.Response response) okhttp3.RequestauthenticateWithState(okhttp3.Route route, okhttp3.Request request)
-
Constructor Details
-
AutoDetectAuthenticator
-
-
Method Details
-
authenticate
public okhttp3.Request authenticate(okhttp3.Route route, okhttp3.Response response) throws IOException - Specified by:
authenticatein interfaceokhttp3.Authenticator- Throws:
IOException
-
authenticateWithState
public okhttp3.Request authenticateWithState(okhttp3.Route route, okhttp3.Request request) throws IOException - Specified by:
authenticateWithStatein interfaceCachingAuthenticator- Throws:
IOException
-