Uses of Interface
org.forgerock.json.resource.RequestHandler
-
Packages that use RequestHandler Package Description org.forgerock.audit Package contains the AuditService.org.forgerock.json.resource Classes and interfaces for core types including connections, request handlers, resources, and their exceptions.org.forgerock.json.resource.http JSON resource Commons HTTP Framework integration.org.forgerock.opendj.rest2ldap APIs for implementing REST to LDAP gateways.org.opends.server.loggers Contains implementations of Directory Server access, error, and debug loggers. -
-
Uses of RequestHandler in org.forgerock.audit
Subinterfaces of RequestHandler in org.forgerock.audit Modifier and Type Interface Description interface
AuditService
CRESTRequestHandler
responsible for storing and retrieving audit events.Classes in org.forgerock.audit that implement RequestHandler Modifier and Type Class Description class
AuditServiceProxy
AuditService proxy that allows products to implement threadsafe hot-swappable configuration updates. -
Uses of RequestHandler in org.forgerock.json.resource
Classes in org.forgerock.json.resource that implement RequestHandler Modifier and Type Class Description class
AbstractRequestHandler
Deprecated.RequestHandler
now has default methods which implement the not-supported behavior.class
DescribedSyncRequestHandlerAdapter
Version ofSynchronousRequestHandlerAdapter
that exposes a described handler.class
FilterChain
A chain of filters terminated by a target request handler.class
Router
A router which routes requests based on route predicates.Methods in org.forgerock.json.resource that return RequestHandler Modifier and Type Method Description static RequestHandler
Resources. asRequestHandler(SynchronousRequestHandler syncHandler)
Adapts the providedSynchronousRequestHandler
as aRequestHandler
.RequestHandler
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.Methods in org.forgerock.json.resource that return types with arguments of type RequestHandler Modifier and Type Method Description protected Pair<org.forgerock.services.routing.RouteMatcher<Request>,RequestHandler>
Router. getSelfApiHandler()
Methods in org.forgerock.json.resource with parameters of type RequestHandler Modifier and Type Method Description org.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.Promise<ActionResponse,ResourceException>
Filter. filterAction(org.forgerock.services.context.Context context, ActionRequest request, RequestHandler next)
Filters an action request.Promise<ActionResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterAction(org.forgerock.services.context.Context context, ActionRequest request, RequestHandler next)
Promise<ActionResponse,ResourceException>
ResourceApiVersionSpecificationFilter. filterAction(org.forgerock.services.context.Context context, ActionRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
Filter. filterCreate(org.forgerock.services.context.Context context, CreateRequest request, RequestHandler next)
Filters a create request.Promise<ResourceResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterCreate(org.forgerock.services.context.Context context, CreateRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
ResourceApiVersionSpecificationFilter. filterCreate(org.forgerock.services.context.Context context, CreateRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
Filter. filterDelete(org.forgerock.services.context.Context context, DeleteRequest request, RequestHandler next)
Filters a delete request.Promise<ResourceResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterDelete(org.forgerock.services.context.Context context, DeleteRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
ResourceApiVersionSpecificationFilter. filterDelete(org.forgerock.services.context.Context context, DeleteRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
Filter. filterPatch(org.forgerock.services.context.Context context, PatchRequest request, RequestHandler next)
Filters a patch request.Promise<ResourceResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterPatch(org.forgerock.services.context.Context context, PatchRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
ResourceApiVersionSpecificationFilter. filterPatch(org.forgerock.services.context.Context context, PatchRequest request, RequestHandler next)
Promise<QueryResponse,ResourceException>
Filter. filterQuery(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next)
Filters a query request.Promise<QueryResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterQuery(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next)
Promise<QueryResponse,ResourceException>
ResourceApiVersionSpecificationFilter. filterQuery(org.forgerock.services.context.Context context, QueryRequest request, QueryResourceHandler handler, RequestHandler next)
Promise<ResourceResponse,ResourceException>
Filter. filterRead(org.forgerock.services.context.Context context, ReadRequest request, RequestHandler next)
Filters a read request.Promise<ResourceResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterRead(org.forgerock.services.context.Context context, ReadRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
ResourceApiVersionSpecificationFilter. filterRead(org.forgerock.services.context.Context context, ReadRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
Filter. filterUpdate(org.forgerock.services.context.Context context, UpdateRequest request, RequestHandler next)
Filters an update request.Promise<ResourceResponse,ResourceException>
ResourceApiVersionRoutingFilter. filterUpdate(org.forgerock.services.context.Context context, UpdateRequest request, RequestHandler next)
Promise<ResourceResponse,ResourceException>
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
FilterChain. setTarget(RequestHandler target)
Sets the target request handler which will be invoked once processing has reached the end of the filter chain.Constructors in org.forgerock.json.resource with parameters of type RequestHandler Constructor Description FilterChain(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.Constructor parameters in org.forgerock.json.resource with type arguments of type RequestHandler Constructor Description Router(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
Methods in org.forgerock.json.resource.http that return RequestHandler Modifier and Type Method Description static RequestHandler
CrestHttp. newRequestHandler(org.forgerock.http.Handler handler, URI uri)
Creates a newRequestHandler
that map back and forth JSON resource objects to CHF objects.Methods in org.forgerock.json.resource.http with parameters of type RequestHandler Modifier and Type Method Description static org.forgerock.http.Handler
CrestHttp. newHttpHandler(RequestHandler handler)
Deprecated.UseCrestHttp.newHttpHandler(CrestApplication)
instead. -
Uses of RequestHandler in org.forgerock.opendj.rest2ldap
Classes in org.forgerock.opendj.rest2ldap that implement RequestHandler Modifier and Type Class Description class
DescribableRequestHandler
Decorator for a request handler that can return an api descriptor of the underlying handler.Methods in org.forgerock.opendj.rest2ldap that return RequestHandler Modifier and Type Method Description static RequestHandler
Rest2LdapJsonConfigurator. configureEndpoint(File endpointDirectory, Options options)
Creates a new CRESTRequestHandler
representing a single endpoint whose configuration is defined in the providedendpointDirectory
parameter.RequestHandler
Rest2Ldap. newRequestHandlerFor(String resourceId)
Returns aRequestHandler
which will handle requests to the named resource and any of its sub-resources.Methods in org.forgerock.opendj.rest2ldap with parameters of type RequestHandler Modifier and Type Method Description static Connection
JsonFilteredResources. 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.Constructors in org.forgerock.opendj.rest2ldap with parameters of type RequestHandler Constructor Description DescribableRequestHandler(RequestHandler handler)
Builds an object decorating the provided handler. -
Uses of RequestHandler in org.opends.server.loggers
Methods in org.opends.server.loggers that return RequestHandler Modifier and Type Method Description RequestHandler
CommonAudit.HttpLogger. getRequestHandler()
Returns the request handler which can be used for logging HTTP access audit events.
-