|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClientHttpResponse
Represents a client-side HTTP response. Obtained via an calling of the ClientHttpRequest.execute().
A ClientHttpResponse must be closed, typically in a
finally block.
| Method Summary | |
|---|---|
void |
close()
Closes this response, freeing any resources created. |
HttpStatus |
getStatusCode()
Return the HTTP status code of the response. |
String |
getStatusText()
Return the HTTP status text of the response. |
| Methods inherited from interface org.springframework.http.HttpInputMessage |
|---|
getBody |
| Methods inherited from interface org.springframework.http.HttpMessage |
|---|
getHeaders |
| Method Detail |
|---|
HttpStatus getStatusCode()
throws IOException
IOException - in case of I/O errors
String getStatusText()
throws IOException
IOException - in case of I/O errorsvoid close()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||