Uses of Interface
org.springframework.http.client.ClientHttpRequestFactory
Packages that use ClientHttpRequestFactory Package Description org.springframework.http.client Contains an abstraction over client-side HTTP.org.springframework.http.client.support This package provides generic HTTP support classes, to be used by higher-level classes like RestTemplate.org.springframework.test.web.client Contains client-side REST testing support.org.springframework.web.client Core package of the client-side web support.org.springframework.web.client.support Classes supporting theorg.springframework.web.clientpackage.Uses of ClientHttpRequestFactory in org.springframework.http.client
Methods in org.springframework.http.client with parameters of type ClientHttpRequestFactory Modifier and Type Method Description protected abstract ClientHttpRequestAbstractClientHttpRequestFactoryWrapper. createRequest(URI uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory)Create a newClientHttpRequestfor the specified URI and HTTP method by using the passed-on request factory.protected ClientHttpRequestBufferingClientHttpRequestFactory. createRequest(URI uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory)protected ClientHttpRequestInterceptingClientHttpRequestFactory. createRequest(URI uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory)Constructors in org.springframework.http.client with parameters of type ClientHttpRequestFactory Constructor Description AbstractClientHttpRequestFactoryWrapper(ClientHttpRequestFactory requestFactory)Create aAbstractClientHttpRequestFactoryWrapperwrapping 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 theInterceptingClientHttpRequestFactorywith the given parameters.Uses of ClientHttpRequestFactory in org.springframework.http.client.support
Methods in org.springframework.http.client.support that return ClientHttpRequestFactory Modifier and Type Method Description ClientHttpRequestFactoryHttpAccessor. getRequestFactory()Return the request factory that this accessor uses for obtaining client request handles.ClientHttpRequestFactoryInterceptingHttpAccessor. getRequestFactory()Overridden to expose anInterceptingClientHttpRequestFactoryif necessary.Methods in org.springframework.http.client.support with parameters of type ClientHttpRequestFactory Modifier and Type Method Description voidHttpAccessor. setRequestFactory(ClientHttpRequestFactory requestFactory)Set the request factory that this accessor uses for obtaining client request handles.voidInterceptingHttpAccessor. 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
Classes in org.springframework.test.web.client that implement ClientHttpRequestFactory Modifier and Type Class Description classMockMvcClientHttpRequestFactoryAClientHttpRequestFactoryfor requests executed viaMockMvc.Uses of ClientHttpRequestFactory in org.springframework.web.client
Constructors in org.springframework.web.client with parameters of type ClientHttpRequestFactory Constructor Description AsyncRestTemplate(AsyncClientHttpRequestFactory asyncRequestFactory, ClientHttpRequestFactory syncRequestFactory)Deprecated.Creates a new instance of theAsyncRestTemplateusing the given asynchronous and synchronous request factories.RestTemplate(ClientHttpRequestFactory requestFactory)Create a new instance of theRestTemplatebased on the givenClientHttpRequestFactory.Uses of ClientHttpRequestFactory in org.springframework.web.client.support
Constructors in org.springframework.web.client.support with parameters of type ClientHttpRequestFactory Constructor Description RestGatewaySupport(ClientHttpRequestFactory requestFactory)Construct a new instance of theRestGatewaySupport, with the givenClientHttpRequestFactory.