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 . |
Collection<RequestCookie> |
getCookies()
Returns the
cookies sent with the request. |
org.springframework.http.HttpHeaders |
getHeaders()
Returns the headers that were included in the request.
|
org.springframework.http.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
org.springframework.http.HttpHeaders getHeaders()
org.springframework.http.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()
Collection<RequestCookie> getCookies()
cookies
sent with the request. If no cookies were
sent an empty collection is returned.null