A protocol handler that handles the 401 response code
in association with the Proxy-Authenticate header.
WWWAuthenticationProtocolHandler
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | accept(Request
the request to accept request, Response the response to accept response)Implements org. Inspects the given |
| protected HttpHeader | |
| protected String | |
| protected URI | getAuthenticationURI(Request request)
Implements abstract org.
|
| protected HttpHeader | |
| public String | getName()
Implements org. Get a unique name among protocol handlers. |
| ATTRIBUTE | back to summary |
|---|---|
| private static final String ATTRIBUTE | |
| NAME | back to summary |
|---|---|
| public static final String NAME | |
| ProxyAuthenticationProtocolHandler | back to summary |
|---|---|
| public ProxyAuthenticationProtocolHandler(HttpClient client) | |
| ProxyAuthenticationProtocolHandler | back to summary |
|---|---|
| public ProxyAuthenticationProtocolHandler(HttpClient client, int maxContentLength) | |
| accept | back to summary |
|---|---|
| public boolean accept(Request request, Response response) Implements org. Doc from org. Inspects the given For example, a redirect protocol handler can inspect the response code and return true if it is a redirect response code. This method is being called just after the response line has been parsed, and before the response headers are available. | |
| getAuthenticateHeader | back to summary |
|---|---|
| protected HttpHeader getAuthenticateHeader() Implements abstract org.
| |
| getAuthenticationAttribute | back to summary |
|---|---|
| protected String getAuthenticationAttribute() Implements abstract org.
| |
| getAuthenticationURI | back to summary |
|---|---|
| protected URI getAuthenticationURI(Request request) Implements abstract org.
| |
| getAuthorizationHeader | back to summary |
|---|---|
| protected HttpHeader getAuthorizationHeader() Implements abstract org.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Get a unique name among protocol handlers. | |