public class DigestAuthentication extends BasicAuthentication implements com.squareup.okhttp.Authenticator
password, username| Constructor and Description |
|---|
DigestAuthentication(java.lang.String username,
java.lang.String password) |
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Request |
authenticate(java.net.Proxy proxy,
com.squareup.okhttp.Response response) |
void |
authenticate(Request request) |
com.squareup.okhttp.Request |
authenticateProxy(java.net.Proxy proxy,
com.squareup.okhttp.Response response) |
getPassword, getUsername, setPassword, setUsernamepublic DigestAuthentication(java.lang.String username,
java.lang.String password)
public void authenticate(Request request)
authenticate in interface Authenticationauthenticate in class BasicAuthenticationpublic com.squareup.okhttp.Request authenticate(java.net.Proxy proxy,
com.squareup.okhttp.Response response)
throws java.io.IOException
authenticate in interface com.squareup.okhttp.Authenticatorjava.io.IOExceptionpublic com.squareup.okhttp.Request authenticateProxy(java.net.Proxy proxy,
com.squareup.okhttp.Response response)
throws java.io.IOException
authenticateProxy in interface com.squareup.okhttp.Authenticatorjava.io.IOException