protected static class TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory extends HttpComponentsClientHttpRequestFactory
HttpComponentsClientHttpRequestFactory
to apply customizations.Constructor and Description |
---|
CustomHttpComponentsClientHttpRequestFactory(TestRestTemplate.HttpClientOption[] httpClientOptions) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.protocol.HttpContext |
createHttpContext(HttpMethod httpMethod,
URI uri) |
protected org.apache.http.client.config.RequestConfig |
getRequestConfig() |
createHttpUriRequest, createRequest, createRequestConfig, destroy, getHttpClient, mergeRequestConfig, postProcessHttpRequest, setBufferRequestBody, setConnectionRequestTimeout, setConnectTimeout, setHttpClient, setHttpContextFactory, setReadTimeout
public CustomHttpComponentsClientHttpRequestFactory(TestRestTemplate.HttpClientOption[] httpClientOptions)
protected org.apache.http.protocol.HttpContext createHttpContext(HttpMethod httpMethod, URI uri)
createHttpContext
in class HttpComponentsClientHttpRequestFactory
protected org.apache.http.client.config.RequestConfig getRequestConfig()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.