Uses of Interface
org.forgerock.json.resource.RequestHandler
Package
Description
Package contains the AuditService.
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
JSON resource Commons HTTP Framework integration.
APIs for implementing REST to LDAP gateways.
Contains implementations of Directory Server access, error, and debug loggers.
-
Uses of RequestHandler in org.forgerock.audit
Modifier and TypeInterfaceDescriptioninterface
CRESTRequestHandler
responsible for storing and retrieving audit events.Modifier and TypeClassDescriptionclass
AuditService proxy that allows products to implement threadsafe hot-swappable configuration updates. -
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<org.forgerock.services.routing.RouteMatcher<Request>,
RequestHandler> Router.getSelfApiHandler()
Modifier and TypeMethodDescriptionorg.forgerock.services.routing.RouteMatcher<Request>
Router.addRoute
(org.forgerock.http.routing.RoutingMode mode, Router.UriTemplate uriTemplate, RequestHandler handler) Adds a new route to this router for the provided request handler.org.forgerock.services.routing.RouteMatcher<Request>
Router.addRoute
(org.forgerock.http.routing.Version version, RequestHandler handler) Adds a new route to this router for the provided request handler.Filter.filterAction
(org.forgerock.services.context.Context context, ActionRequest request, RequestHandler next) Filters an action request.ResourceApiVersionRoutingFilter.filterAction
(org.forgerock.services.context.Context context, ActionRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterAction
(org.forgerock.services.context.Context context, ActionRequest request, RequestHandler next) Filter.filterCreate
(org.forgerock.services.context.Context context, CreateRequest request, RequestHandler next) Filters a create request.ResourceApiVersionRoutingFilter.filterCreate
(org.forgerock.services.context.Context context, CreateRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterCreate
(org.forgerock.services.context.Context context, CreateRequest request, RequestHandler next) Filter.filterDelete
(org.forgerock.services.context.Context context, DeleteRequest request, RequestHandler next) Filters a delete request.ResourceApiVersionRoutingFilter.filterDelete
(org.forgerock.services.context.Context context, DeleteRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterDelete
(org.forgerock.services.context.Context context, DeleteRequest request, RequestHandler next) Filter.filterPatch
(org.forgerock.services.context.Context context, PatchRequest request, RequestHandler next) Filters a patch request.ResourceApiVersionRoutingFilter.filterPatch
(org.forgerock.services.context.Context context, PatchRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterPatch
(org.forgerock.services.context.Context context, PatchRequest request, RequestHandler next) Filter.filterQuery
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) Filters a query request.ResourceApiVersionRoutingFilter.filterQuery
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) ResourceApiVersionSpecificationFilter.filterQuery
(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next) Filter.filterRead
(org.forgerock.services.context.Context context, ReadRequest request, RequestHandler next) Filters a read request.ResourceApiVersionRoutingFilter.filterRead
(org.forgerock.services.context.Context context, ReadRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterRead
(org.forgerock.services.context.Context context, ReadRequest request, RequestHandler next) Filter.filterUpdate
(org.forgerock.services.context.Context context, UpdateRequest request, RequestHandler next) Filters an update request.ResourceApiVersionRoutingFilter.filterUpdate
(org.forgerock.services.context.Context context, UpdateRequest request, RequestHandler next) ResourceApiVersionSpecificationFilter.filterUpdate
(org.forgerock.services.context.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.ModifierConstructorDescriptionRouter
(org.forgerock.services.routing.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. -
Uses of RequestHandler in org.forgerock.json.resource.http
Modifier and TypeMethodDescriptionstatic RequestHandler
CrestHttp.newRequestHandler
(org.forgerock.http.Handler handler, URI uri) Creates a newRequestHandler
that map back and forth JSON resource objects to CHF objects.Modifier and TypeMethodDescriptionstatic org.forgerock.http.Handler
CrestHttp.newHttpHandler
(RequestHandler handler) Deprecated.UseCrestHttp.newHttpHandler(CrestApplication)
instead. -
Uses of RequestHandler in org.forgerock.opendj.rest2ldap
Modifier and TypeClassDescriptionclass
Decorator for a request handler that can return an api descriptor of the underlying handler.Modifier and TypeMethodDescriptionstatic RequestHandler
Rest2LdapJsonConfigurator.configureEndpoint
(File endpointDirectory, Options options) Creates a new CRESTRequestHandler
representing a single endpoint whose configuration is defined in the providedendpointDirectory
parameter.static RequestHandler
Hdap.newHdapRequestHandler
(Options options) Creates a new HDAP request handler with the provided options.Rest2Ldap.newRequestHandlerFor
(String resourceId) Returns aRequestHandler
which will handle requests to the named resource and any of its sub-resources.Modifier and TypeMethodDescriptionstatic Connection
JsonFilteredResources.newInternalConnection
(RequestHandler handler, boolean returnNullOnMissingProperties) Creates a new connection to aRequestHandler
.static Connection
JsonUnfilteredResources.newInternalConnection
(RequestHandler handler) Creates a new connection to aRequestHandler
.static ConnectionFactory
JsonFilteredResources.newInternalConnectionFactory
(RequestHandler handler) Creates a new connection factory which binds internal client connections toRequestHandler
s.static ConnectionFactory
JsonUnfilteredResources.newInternalConnectionFactory
(RequestHandler handler) Creates a new connection factory which binds internal client connections toRequestHandler
s.ModifierConstructorDescriptionDescribableRequestHandler
(RequestHandler handler) Builds an object decorating the provided handler. -
Uses of RequestHandler in org.opends.server.loggers
Modifier and TypeMethodDescriptionCommonAudit.HttpLogger.getRequestHandler()
Returns the request handler which can be used for logging HTTP access audit events.
RequestHandler
now has default methods which implement the not-supported behavior.