public interface Request
Modifier and Type | Interface and Description |
---|---|
static class |
Request.Type
Enum of request types.
|
Modifier and Type | Method and Description |
---|---|
int |
getAPIVersion()
Obtain the api version of the request.
|
RequestBody |
getBody()
Obtain the request body data.
|
Map<String,TemporalInfo> |
getFields()
Obtain the partial response fields and associated temporal information which were provided
in the query string of the request uri.
|
Map<String,List<String>> |
getHttpHeaders()
Obtain the http headers associated with the request.
|
PageRequest |
getPageRequest()
Obtain the pagination request information.
|
Predicate |
getQueryPredicate()
Obtain the query predicate that was built from the user provided predicate fields in the query string.
|
String |
getRemoteAddress()
Returns the remote address for the request
|
Renderer |
getRenderer()
Obtain the renderer for the request.
|
Request.Type |
getRequestType()
Obtain the http request type.
|
ResourceInstance |
getResource()
Obtain the resource definition which corresponds to the resource being operated on by the request.
|
SortRequest |
getSortRequest()
Obtain information to order the results by.
|
String |
getURI()
Obtain the URI of this request.
|
Result |
process()
Process the request.
|
Result process()
ResourceInstance getResource()
ResourceDefinition
String getURI()
Request.Type getRequestType()
Request.Type
.int getAPIVersion()
Predicate getQueryPredicate()
Map<String,TemporalInfo> getFields()
RequestBody getBody()
Map<String,List<String>> getHttpHeaders()
PageRequest getPageRequest()
SortRequest getSortRequest()
Renderer getRenderer()
String getRemoteAddress()
Copyright © 2022 Apache Software Foundation. All rights reserved.