Java org.springframework.http.client HttpComponentsClientHttpRequestFactory fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.http.client HttpComponentsClientHttpRequestFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.http.client HttpComponentsClientHttpRequestFactory.

The text is from its open source code.

Subclass

org.springframework.http.client.HttpComponentsClientHttpRequestFactory has subclasses.
Click this link to see all its subclasses.

Constructor

HttpComponentsClientHttpRequestFactory(HttpClient httpClient)
Create a new instance of the HttpComponentsClientHttpRequestFactory with the given HttpClient instance.
HttpComponentsClientHttpRequestFactory()
Create a new instance of the HttpComponentsClientHttpRequestFactory with a default HttpClient based on system properties.

Method

ClientHttpRequestcreateRequest(URI uri, HttpMethod httpMethod)
HttpClientgetHttpClient()
Return the HttpClient used for #createRequest(URI,HttpMethod) synchronous execution .
voidsetBufferRequestBody(boolean bufferRequestBody)
Indicates whether this request factory should buffer the request body internally.
voidsetConnectionRequestTimeout(int connectionRequestTimeout)
Set the timeout in milliseconds used when requesting a connection from the connection manager using the underlying RequestConfig .
voidsetConnectTimeout(int timeout)
Set the connection timeout for the underlying RequestConfig .
voidsetHttpClient(HttpClient httpClient)
Set the HttpClient used for #createRequest(URI,HttpMethod) synchronous execution .
voidsetReadTimeout(int timeout)
Set the socket read timeout for the underlying RequestConfig .