Uses of Interface
org.forgerock.json.resource.Request
Package
Description
Package contains audit events.
This package contains utility classes used in the audit service.
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
-
Uses of Request in org.forgerock.audit.events
Modifier and TypeMethodDescriptionfinal T
AccessAuditEventBuilder.forHttpRequest
(Context context, Request request) Sets common fields from CREST contexts and request.final T
AccessAuditEventBuilder.requestFromCrestRequest
(Request request) Sets request detail fromRequest
. -
Uses of Request in org.forgerock.audit.util
Modifier and TypeMethodDescriptionstatic ResourceException
ResourceExceptionsUtil.notSupported
(Request request) Creates a NotSupportedException.static ResourceException
ResourceExceptionsUtil.notSupportedOnCollection
(Request request) Creates a NotSupportedException.static ResourceException
ResourceExceptionsUtil.notSupportedOnInstance
(Request request) Creates a NotSupportedException. -
Uses of Request in org.forgerock.json.resource
Modifier and TypeInterfaceDescriptioninterface
An implementation specific action, or operation, upon a JSON resource.interface
A request to create a new JSON resource.interface
A request to delete a JSON resource.interface
A request to update a JSON resource by applying a set of changes to its existing content.interface
A request to search for all JSON resources matching a user specified set of criteria.interface
A request to read a single identified JSON resource.interface
A request to update a JSON resource by replacing its existing content with new content.Modifier and TypeMethodDescriptionAdds one or more fields which should be included with each JSON resource returned by this request.Request.addField
(JsonPointer... fields) Adds one or more fields which should be included with each JSON resource returned by this request.static Request
Requests.copyOfApiRequest
(Request request) Returns a copy of the provided api request.static Request
Requests.newApiRequest
(ResourcePath path) Returns a new API request with the provided path.Request.setAdditionalParameter
(String name, String value) Sets an additional parameter which should be used to control the behavior of this action request.Request.setPreferredLocales
(PreferredLocales preferredLocales) Set the locale preference for the request.Request.setResourcePath
(String path) Sets the non-null
path of the JSON resource to which this request should be targeted.Request.setResourcePath
(ResourcePath path) Sets the non-null
path of the JSON resource to which this request should be targeted.Request.setResourceVersion
(Version resourceVersion) Sets the requested API version of the resource.Modifier and TypeMethodDescriptionRouter.addRoute
(RoutingMode mode, Router.UriTemplate uriTemplate, RequestHandler handler) Adds a new route to this router for the provided request handler.Router.addRoute
(Version version, CollectionResourceProvider provider) Adds a new route to this router for the provided collection resource provider.Router.addRoute
(Version version, RequestHandler handler) Adds a new route to this router for the provided request handler.Router.addRoute
(Version version, SingletonResourceProvider provider) Adds a new route to this router for the provided singleton resource provider.Router.addRoute
(Router.UriTemplate uriTemplate, CollectionResourceProvider provider) Adds a new route to this router for the provided collection resource provider.Router.addRoute
(Router.UriTemplate uriTemplate, SingletonResourceProvider provider) Adds a new route to this router for the provided singleton resource provider.protected Pair<RouteMatcher<Request>,
RequestHandler> Router.getSelfApiHandler()
static RouteMatcher<Request>
RouteMatchers.requestResourceApiVersionMatcher
(Version version) Creates aRouteMatcher
instance that matches the request resource API version with the provided version.static RouteMatcher<Request>
RouteMatchers.requestUriMatcher
(RoutingMode mode, String template) Creates aRouteMatcher
instance that matchesRequest
s with the provided mode and template.protected RouteMatcher<Request>
Router.uriMatcher
(RoutingMode mode, String pattern) Modifier and TypeMethodDescriptionstatic Request
Requests.copyOfApiRequest
(Request request) Returns a copy of the provided api request.org.forgerock.api.models.ApiDescription
AbstractConnectionWrapper.handleApiRequest
(Context context, Request request) org.forgerock.api.models.ApiDescription
DescribedSyncRequestHandlerAdapter.handleApiRequest
(Context context, Request request) org.forgerock.api.models.ApiDescription
FilterChain.handleApiRequest
(Context context, Request request) org.forgerock.api.models.ApiDescription
Router.handleApiRequest
(Context context, Request request) boolean
Returnstrue
if the conditional filter should be invoked, orfalse
if processing should continue directly to the next filter in the filter chain.ResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecification.matchVersion
(Request request) ResourceApiVersionSpecificationFilter.VersionSpecification.matchVersion
(Request request) Test the request to try to find a match based on version configuration.ModifierConstructorDescriptionRouter
(AbstractRouter<Router, Request, RequestHandler, org.forgerock.api.models.ApiDescription> router) Creates a new router containing the same routes and default route as the provided router.