Uses of Interface
org.springframework.http.client.ClientHttpRequestFactory
Package
Description
Contains an abstraction over client-side HTTP.
This package provides generic HTTP support classes,
to be used by higher-level classes like RestTemplate.
Contains client-side REST testing support.
Core package of the client-side web support.
Classes supporting the
org.springframework.web.client
package.-
Uses of ClientHttpRequestFactory in org.springframework.http.client
Modifier and TypeClassDescriptionclass
Abstract base class forClientHttpRequestFactory
implementations that decorate another request factory.class
Wrapper for aClientHttpRequestFactory
that buffers all outgoing and incoming streams in memory.class
ClientHttpRequestFactory
implementation that uses Apache HttpComponents HttpClient to create requests.class
ClientHttpRequestFactory
wrapper with support forClientHttpRequestInterceptors
.class
ClientHttpRequestFactory
implementation that uses OkHttp 3.x to create requests.class
ClientHttpRequestFactory
implementation that uses standard JDK facilities.Modifier and TypeMethodDescriptionprotected abstract ClientHttpRequest
AbstractClientHttpRequestFactoryWrapper.createRequest
(URI uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory) Create a newClientHttpRequest
for the specified URI and HTTP method by using the passed-on request factory.protected ClientHttpRequest
BufferingClientHttpRequestFactory.createRequest
(URI uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory) protected ClientHttpRequest
InterceptingClientHttpRequestFactory.createRequest
(URI uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory) ModifierConstructorDescriptionprotected
AbstractClientHttpRequestFactoryWrapper
(ClientHttpRequestFactory requestFactory) Create aAbstractClientHttpRequestFactoryWrapper
wrapping the given request factory.BufferingClientHttpRequestFactory
(ClientHttpRequestFactory requestFactory) Create a buffering wrapper for the givenClientHttpRequestFactory
.InterceptingClientHttpRequestFactory
(ClientHttpRequestFactory requestFactory, List<ClientHttpRequestInterceptor> interceptors) Create a new instance of theInterceptingClientHttpRequestFactory
with the given parameters. -
Uses of ClientHttpRequestFactory in org.springframework.http.client.support
Modifier and TypeMethodDescriptionHttpAccessor.getRequestFactory()
Return the request factory that this accessor uses for obtaining client request handles.InterceptingHttpAccessor.getRequestFactory()
Overridden to expose anInterceptingClientHttpRequestFactory
if necessary.Modifier and TypeMethodDescriptionvoid
HttpAccessor.setRequestFactory
(ClientHttpRequestFactory requestFactory) Set the request factory that this accessor uses for obtaining client request handles.void
InterceptingHttpAccessor.setRequestFactory
(ClientHttpRequestFactory requestFactory) Set the request factory that this accessor uses for obtaining client request handles. -
Uses of ClientHttpRequestFactory in org.springframework.test.web.client
Modifier and TypeClassDescriptionclass
AClientHttpRequestFactory
for requests executed viaMockMvc
. -
Uses of ClientHttpRequestFactory in org.springframework.web.client
ModifierConstructorDescriptionRestTemplate
(ClientHttpRequestFactory requestFactory) Create a new instance of theRestTemplate
based on the givenClientHttpRequestFactory
. -
Uses of ClientHttpRequestFactory in org.springframework.web.client.support
ModifierConstructorDescriptionRestGatewaySupport
(ClientHttpRequestFactory requestFactory) Construct a new instance of theRestGatewaySupport
, with the givenClientHttpRequestFactory
.