public interface ClientHttpRequest extends HttpRequest, HttpOutputMessage
ClientHttpRequestFactory
.
A HttpRequest
can be executed, getting a ClientHttpResponse
which can be read from.
ClientHttpRequestFactory.createRequest(java.net.URI, HttpMethod)
Modifier and Type | Method and Description |
---|---|
ClientHttpResponse |
execute()
Execute this request, resulting in a
ClientHttpResponse that can be read. |
getMethod, getURI
getBody
getHeaders
ClientHttpResponse execute() throws java.io.IOException
ClientHttpResponse
that can be read.java.io.IOException
- in case of I/O errors