|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientHttpRequest
Represents a client-side HTTP request. Created via an implementation of the ClientHttpRequestFactory
.
A HttpRequest
can be executed, getting a ClientHttpResponse
which can be read from.
ClientHttpRequestFactory.createRequest(java.net.URI, HttpMethod)
Method Summary | |
---|---|
ClientHttpResponse |
execute()
Execute this request, resulting in a ClientHttpResponse that can be read. |
HttpMethod |
getMethod()
Return the HTTP method of the request. |
Methods inherited from interface org.springframework.http.HttpOutputMessage |
---|
getBody |
Methods inherited from interface org.springframework.http.HttpMessage |
---|
getHeaders |
Method Detail |
---|
HttpMethod getMethod()
ClientHttpResponse execute() throws IOException
ClientHttpResponse
that can be read.
IOException
- in case of I/O errors
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |