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, scanResponse
void authorize(java.lang.String username, java.lang.String password)
HttpAuthMethod
authorize
in class HttpAuthMethod
void configureRequest(HttpConnection conn) throws java.io.IOException
HttpAuthMethod
configureRequest
in class HttpAuthMethod
java.io.IOException