public interface OperationResponse
Operation
,
Operation.getRequest()
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent()
Returns the content of the response.
|
String |
getContentAsString()
Returns the content of the response as a
String . |
org.springframework.http.HttpHeaders |
getHeaders()
Returns the headers in the response.
|
org.springframework.http.HttpStatus |
getStatus()
Returns the status of the response.
|
org.springframework.http.HttpStatus getStatus()
org.springframework.http.HttpHeaders getHeaders()
byte[] getContent()
null
String getContentAsString()
String
. If the response has no
content an empty string is returned. If the response has a Content-Type
header that specifies a charset then that charset will be used when converting the
contents to a String
.null