| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private final HttpClient | |
| public static final int | |
| private static final Logger | |
| private final int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract HttpHeader | |
| protected abstract String | |
| protected abstract URI | |
| protected abstract HttpHeader | |
| protected List | |
| protected HttpClient | |
| public Response. |
| CHALLENGE_PATTERN | back to summary |
|---|---|
| private static final Pattern CHALLENGE_PATTERN | |
| client | back to summary |
|---|---|
| private final HttpClient client | |
| DEFAULT_MAX_CONTENT_LENGTH | back to summary |
|---|---|
| public static final int DEFAULT_MAX_CONTENT_LENGTH | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| maxContentLength | back to summary |
|---|---|
| private final int maxContentLength | |
| AuthenticationProtocolHandler | back to summary |
|---|---|
| protected AuthenticationProtocolHandler(HttpClient client, int maxContentLength) | |
| getAuthenticateHeader | back to summary |
|---|---|
| protected abstract HttpHeader getAuthenticateHeader() | |
| getAuthenticationAttribute | back to summary |
|---|---|
| protected abstract String getAuthenticationAttribute() | |
| getAuthenticationURI | back to summary |
|---|---|
| protected abstract URI getAuthenticationURI(Request request) | |
| getAuthorizationHeader | back to summary |
|---|---|
| protected abstract HttpHeader getAuthorizationHeader() | |
| getHeaderInfo | back to summary |
|---|---|
| protected List | |
| getHttpClient | back to summary |
|---|---|
| protected HttpClient getHttpClient() | |
| getResponseListener | back to summary |
|---|---|
| public Response. Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Authentication. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | onSuccess(Response
the response containing the response line data and the headers response)Overrides default org. |
| authenticationResult | back to summary |
|---|---|
| private final Authentication. | |
| AfterAuthenticationListener | back to summary |
|---|---|
| private AfterAuthenticationListener(Authentication. | |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(Response response) Overrides default org. Doc from org. Callback method invoked when the whole response has been successfully received. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | forwardFailureComplete(HttpRequest request, Throwable requestFailure, Response response, Throwable responseFailure)
|
| private void | |
| public void | onComplete(Result
the result of the request / response exchange result)Overrides default org. Implements abstract org. |
| public void | onSuccess(Response
the response containing the response line data and the headers response)Overrides default org. |
| private List | |
| private URI |
| AuthenticationListener | back to summary |
|---|---|
| private AuthenticationListener() | |
| copyIfAbsent | back to summary |
|---|---|
| private void copyIfAbsent(HttpRequest oldRequest, Request newRequest, HttpHeader header) | |
| forwardFailureComplete | back to summary |
|---|---|
| private void forwardFailureComplete(HttpRequest request, Throwable requestFailure, Response response, Throwable responseFailure) | |
| forwardSuccessComplete | back to summary |
|---|---|
| private void forwardSuccessComplete(HttpRequest request, Response response) | |
| onComplete | back to summary |
|---|---|
| public void onComplete(Result result) Overrides default org. Implements abstract org. Doc from org. Callback method invoked when the request and the response have been processed, either successfully or not.
The
Requests may complete after response, for example in case of big uploads that are
discarded or read asynchronously by the server.
This method is always invoked after | |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(Response response) Overrides default org. Doc from org. Callback method invoked when the whole response has been successfully received. | |
| parseAuthenticateHeader | back to summary |
|---|---|
| private List | |
| resolveURI | back to summary |
|---|---|
| private URI resolveURI(HttpRequest request, URI uri) | |