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 IOException
ClientHttpResponse
that can be read.IOException
- in case of I/O errors