public class PreemptiveBasicAuthHttpComponentsClientHttpRequestFactory extends HttpComponentsClientHttpRequestFactory
HttpComponentsClientHttpRequestFactory extension that aggressively sends HTTP
basic authentication credentials without having to first receive an HTTP 401 response
from the server.| Constructor and Description |
|---|
PreemptiveBasicAuthHttpComponentsClientHttpRequestFactory(org.apache.http.client.HttpClient httpClient,
org.apache.http.HttpHost host) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.protocol.HttpContext |
createHttpContext(HttpMethod httpMethod,
URI uri) |
createHttpUriRequest, createRequest, createRequestConfig, destroy, getHttpClient, mergeRequestConfig, postProcessHttpRequest, setBufferRequestBody, setConnectionRequestTimeout, setConnectTimeout, setHttpClient, setHttpContextFactory, setReadTimeoutpublic PreemptiveBasicAuthHttpComponentsClientHttpRequestFactory(org.apache.http.client.HttpClient httpClient,
org.apache.http.HttpHost host)
protected org.apache.http.protocol.HttpContext createHttpContext(HttpMethod httpMethod, URI uri)
createHttpContext in class HttpComponentsClientHttpRequestFactoryCopyright © 2023 Pivotal Software, Inc.. All rights reserved.