protected static class TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory
extends org.springframework.http.client.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(org.springframework.http.HttpMethod httpMethod,
URI uri) |
protected org.apache.http.client.config.RequestConfig |
getRequestConfig() |
createHttpUriRequest, createRequest, createRequestConfig, destroy, getHttpClient, mergeRequestConfig, postProcessHttpRequest, setBufferRequestBody, setConnectionRequestTimeout, setConnectTimeout, setHttpClient, setReadTimeout
public CustomHttpComponentsClientHttpRequestFactory(TestRestTemplate.HttpClientOption[] httpClientOptions)
protected org.apache.http.protocol.HttpContext createHttpContext(org.springframework.http.HttpMethod httpMethod, URI uri)
createHttpContext
in class org.springframework.http.client.HttpComponentsClientHttpRequestFactory
protected org.apache.http.client.config.RequestConfig getRequestConfig()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.