Package org.springframework.http.client
Interface ClientHttpRequest
- All Superinterfaces:
- HttpMessage,- HttpOutputMessage,- HttpRequest
- All Known Implementing Classes:
- AbstractClientHttpRequest,- MockClientHttpRequest
Represents a client-side HTTP request.
 Created via an implementation of the 
ClientHttpRequestFactory.
 A ClientHttpRequest can be executed,
 receiving a ClientHttpResponse which can be read from.
- Since:
- 3.0
- Author:
- Arjen Poutsma
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionexecute()Execute this request, resulting in aClientHttpResponsethat can be read.Methods inherited from interface org.springframework.http.HttpMessagegetHeadersMethods inherited from interface org.springframework.http.HttpOutputMessagegetBodyMethods inherited from interface org.springframework.http.HttpRequestgetMethod, getMethodValue, getURI
- 
Method Details- 
executeExecute this request, resulting in aClientHttpResponsethat can be read.- Returns:
- the response result of the execution
- Throws:
- IOException- in case of I/O errors
 
 
-