public class ClientHttpRequestFactorySelector
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ClientHttpRequestFactorySelector.HttpComponentsClientRequestFactoryCreator |
| Constructor and Description |
|---|
ClientHttpRequestFactorySelector() |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.http.client.ClientHttpRequestFactory |
bufferRequests(org.springframework.http.client.ClientHttpRequestFactory requestFactory)
Decorates a request factory to buffer responses so that the responses may be repeatedly read.
|
static org.springframework.http.client.ClientHttpRequestFactory |
foo() |
static org.springframework.http.client.ClientHttpRequestFactory |
getRequestFactory() |
static void |
setAllTrust(boolean isAllTrust)
Trust all SSL certificates.
|
public static org.springframework.http.client.ClientHttpRequestFactory foo()
public static org.springframework.http.client.ClientHttpRequestFactory getRequestFactory()
public static org.springframework.http.client.ClientHttpRequestFactory bufferRequests(org.springframework.http.client.ClientHttpRequestFactory requestFactory)
requestFactory - the request factory to be decorated for bufferingpublic static void setAllTrust(boolean isAllTrust)
HttpComponentsClientHttpRequestFactory in a test environment. Not recommended for general use.isAllTrust - if true, all certificates will be trusted.