public class ClientHttpRequestFactorySelector extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClientHttpRequestFactorySelector.HttpComponentsClientRequestFactoryCreator |
Constructor and Description |
---|
ClientHttpRequestFactorySelector() |
Modifier and Type | Method and Description |
---|---|
static ClientHttpRequestFactory |
bufferRequests(ClientHttpRequestFactory requestFactory)
Decorates a request factory to buffer responses so that the responses may be repeatedly read.
|
static ClientHttpRequestFactory |
foo() |
static ClientHttpRequestFactory |
getRequestFactory() |
static void |
setAllTrust(boolean isAllTrust)
Trust all SSL certificates.
|
public static ClientHttpRequestFactory foo()
public static ClientHttpRequestFactory getRequestFactory()
public static ClientHttpRequestFactory bufferRequests(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.