Example usage for Java org.springframework.http.client HttpComponentsClientHttpRequestFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
ClientHttpRequest | createRequest(URI uri, HttpMethod httpMethod) |
HttpClient | getHttpClient() Return the HttpClient used for #createRequest(URI,HttpMethod) synchronous execution . |
void | setBufferRequestBody(boolean bufferRequestBody) Indicates whether this request factory should buffer the request body internally. |
void | setConnectionRequestTimeout(int connectionRequestTimeout) Set the timeout in milliseconds used when requesting a connection from the connection manager using the underlying RequestConfig . |
void | setConnectTimeout(int timeout) Set the connection timeout for the underlying RequestConfig . |
void | setHttpClient(HttpClient httpClient) Set the HttpClient used for #createRequest(URI,HttpMethod) synchronous execution . |
void | setReadTimeout(int timeout) Set the socket read timeout for the underlying RequestConfig . |