private static class HttpAuthMethod.Basic extends HttpAuthMethod
HttpAuthMethod.Type| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
pass |
private java.lang.String |
user |
EMPTY_STRING, SCHEMA_NAME_SEPARATOR, type| Constructor and Description |
|---|
Basic() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
authorize(java.lang.String username,
java.lang.String password)
Update this method with the given username and password pair.
|
(package private) void |
configureRequest(HttpConnection conn)
Update connection properties based on this authentication method.
|
authorize, getType, scanResponsevoid authorize(java.lang.String username,
java.lang.String password)
HttpAuthMethodauthorize in class HttpAuthMethodvoid configureRequest(HttpConnection conn) throws java.io.IOException
HttpAuthMethodconfigureRequest in class HttpAuthMethodjava.io.IOException