Uses of Interface
org.forgerock.json.resource.RequestHandler
Package
Description
This package contains all classes pertaining to AM's IoT functionality.
This package defines the authorization framework implementation classes for use in a CREST environment.
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
This package contains classes for the handling of REST request to CREST Resource endpoints with the concept of realms
in OpenAM built in.
This package contains the core implementation for the anonymous process service.
-
Uses of RequestHandler in org.forgerock.am.iot
Modifier and TypeMethodDescriptionThingsAccessAuditFilter.filterAction
(Context context, ActionRequest request, RequestHandler next) -
Uses of RequestHandler in org.forgerock.authz.filter.crest
Modifier and TypeMethodDescriptionstatic FilterChain
AuthorizationFilters.createAuthorizationFilter
(RequestHandler target, List<CrestAuthorizationModule> modules) Returns a newFilterChain
which will perform authorization for each request before allowing access to the provided RequestHandler.static FilterChain
AuthorizationFilters.createAuthorizationFilter
(RequestHandler target, CrestAuthorizationModule... modules) Returns a newFilterChain
which will perform authorization for each request before allowing access to the provided RequestHandler. -
Uses of RequestHandler in org.forgerock.json.resource
Modifier and TypeClassDescriptionclass
Deprecated.class
Version ofSynchronousRequestHandlerAdapter
that exposes a described handler.final class
A chain of filters terminated by a target request handler.class
A router which routes requests based on route predicates.Modifier and TypeMethodDescriptionstatic RequestHandler
Resources.asRequestHandler
(SynchronousRequestHandler syncHandler) Adapts the providedSynchronousRequestHandler
as aRequestHandler
.FilterChain.getTarget()
Returns the target request handler which will be invoked once processing has reached the end of the filter chain.static RequestHandler
Resources.newAnnotatedRequestHandler
(Object provider) Deprecated.UseResources.newHandler(Object)
instead.static RequestHandler
Resources.newCollection
(Object provider) Deprecated.UseResources.newHandler(Object)
instead.static RequestHandler
Resources.newHandler
(Object provider) Creates a newRequestHandler
backed by the supplied provider.static RequestHandler
Resources.newSingleton
(Object provider) Deprecated.UseResources.newHandler(Object)
instead.Modifier and TypeMethodDescriptionprotected Pair<RouteMatcher<Request>,
RequestHandler> Router.getSelfApiHandler()
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, RequestHandler handler) Adds a new route to this router for the provided request handler.Filter.filterAction
(Context context, ActionRequest request, RequestHandler next) Filters an action request.ResourceApiVersionRoutingFilter.filterAction
(Context context, ActionRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterAction
(Context context, ActionRequest request, RequestHandler next) Filter.filterCreate
(Context context, CreateRequest request, RequestHandler next) Filters a create request.ResourceApiVersionRoutingFilter.filterCreate
(Context context, CreateRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterCreate
(Context context, CreateRequest request, RequestHandler next) Filter.filterDelete
(Context context, DeleteRequest request, RequestHandler next) Filters a delete request.ResourceApiVersionRoutingFilter.filterDelete
(Context context, DeleteRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterDelete
(Context context, DeleteRequest request, RequestHandler next) Filter.filterPatch
(Context context, PatchRequest request, RequestHandler next) Filters a patch request.ResourceApiVersionRoutingFilter.filterPatch
(Context context, PatchRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterPatch
(Context context, PatchRequest request, RequestHandler next) Filter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) Filters a query request.ResourceApiVersionRoutingFilter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) ResourceApiVersionSpecificationFilter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) Filter.filterRead
(Context context, ReadRequest request, RequestHandler next) Filters a read request.ResourceApiVersionRoutingFilter.filterRead
(Context context, ReadRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterRead
(Context context, ReadRequest request, RequestHandler next) Filter.filterUpdate
(Context context, UpdateRequest request, RequestHandler next) Filters an update request.ResourceApiVersionRoutingFilter.filterUpdate
(Context context, UpdateRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterUpdate
(Context context, UpdateRequest request, RequestHandler next) static Connection
Resources.newInternalConnection
(RequestHandler handler) Creates a new connection to aRequestHandler
.static ConnectionFactory
Resources.newInternalConnectionFactory
(RequestHandler handler) Creates a new connection factory which binds internal client connections toRequestHandler
s.FilterChain.setTarget
(RequestHandler target) Sets the target request handler which will be invoked once processing has reached the end of the filter chain.ModifierConstructorDescriptionFilterChain
(RequestHandler target) Creates an empty filter chain.FilterChain
(RequestHandler target, Collection<Filter> filters) Creates a filter chain containing the provided list of filters.FilterChain
(RequestHandler target, Filter... filters) Creates a filter chain containing the provided list of filters.ModifierConstructorDescriptionCreates a new router containing the same routes and default route as the provided router. -
Uses of RequestHandler in org.forgerock.openam.rest.resource
Modifier and TypeMethodDescriptionRestrictedTokenContextFilter.filterAction
(Context context, ActionRequest request, RequestHandler next) RestrictedTokenContextFilter.filterCreate
(Context context, CreateRequest request, RequestHandler next) RestrictedTokenContextFilter.filterDelete
(Context context, DeleteRequest request, RequestHandler next) RestrictedTokenContextFilter.filterPatch
(Context context, PatchRequest request, RequestHandler next) RestrictedTokenContextFilter.filterQuery
(Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) RestrictedTokenContextFilter.filterRead
(Context context, ReadRequest request, RequestHandler next) RestrictedTokenContextFilter.filterUpdate
(Context context, UpdateRequest request, RequestHandler next) -
Uses of RequestHandler in org.forgerock.selfservice.core
Modifier and TypeClassDescriptionfinal class
Anonymous process service progresses a chain ofProgressStage
configurations, handling any required client interactions.
RequestHandler
now has default methods which implement the not-supported behavior.