public interface OperationRequest
Operation.getRequest()
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent()
Returns the content of the request.
|
String |
getContentAsString()
Returns the content of the request as a
String . |
HttpHeaders |
getHeaders()
Returns the headers that were included in the request.
|
HttpMethod |
getMethod()
Returns the HTTP method of the request.
|
Parameters |
getParameters()
Returns the request's parameters.
|
Collection<OperationRequestPart> |
getParts()
Returns the request's parts, provided that it is a multipart request.
|
URI |
getUri()
Returns the request's URI.
|
byte[] getContent()
null
String getContentAsString()
String
. If the request has no
content an empty string is returned. If the request has a Content-Type
header that specifies a charset then that charset will be used when converting the
contents to a String
.null
HttpHeaders getHeaders()
HttpMethod getMethod()
Parameters getParameters()
GET
request, the parameters are
derived from the query string. For a POST
request, the parameters are
derived form the request's body.Collection<OperationRequestPart> getParts()
Collection
is returned.URI getUri()