Uses of Class
org.forgerock.services.routing.RouteMatcher
-
Packages that use RouteMatcher Package Description org.forgerock.http.routing Provides routing functionality for HTTP requests.org.forgerock.json.resource Classes and interfaces for core types including connections, request handlers, resources, and their exceptions.org.forgerock.services.routing This package provides a simple framework for implementing routers. -
-
Uses of RouteMatcher in org.forgerock.http.routing
Methods in org.forgerock.http.routing that return RouteMatcher Modifier and Type Method Description static RouteMatcher<Request>RouteMatchers. requestResourceApiVersionMatcher(Version version)Creates aRouteMatcherinstance that matches the request resource API version with the provided version.static RouteMatcher<Request>RouteMatchers. requestUriMatcher(RoutingMode mode, String template)Creates aRouteMatcherinstance that matchesRequests with the provided mode and template.static RouteMatcher<Version>RouteMatchers. resourceApiVersionMatcher(Version version)Creates aRouteMatcherinstance that matches the request resource API version with the provided version.static RouteMatcher<Request>RouteMatchers. selfApiMatcher()A matcher to check if the request is for all versions of the API descriptor of the current path.static RouteMatcher<List<String>>RouteMatchers. uriMatcher(RoutingMode mode, String template)Creates aRouteMatcherinstance that matchesResourcePaths with the provided mode and template.protected RouteMatcher<Request>Router. uriMatcher(RoutingMode mode, String pattern)Methods in org.forgerock.http.routing that return types with arguments of type RouteMatcher Modifier and Type Method Description protected Pair<RouteMatcher<Request>,Handler>Router. getSelfApiHandler() -
Uses of RouteMatcher in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return RouteMatcher Modifier and Type Method Description RouteMatcher<Request>Router. addRoute(RoutingMode mode, Router.UriTemplate uriTemplate, RequestHandler handler)Adds a new route to this router for the provided request handler.RouteMatcher<Request>Router. addRoute(Version version, CollectionResourceProvider provider)Adds a new route to this router for the provided collection resource provider.RouteMatcher<Request>Router. addRoute(Version version, RequestHandler handler)Adds a new route to this router for the provided request handler.RouteMatcher<Request>Router. addRoute(Version version, SingletonResourceProvider provider)Adds a new route to this router for the provided singleton resource provider.RouteMatcher<Request>Router. addRoute(Router.UriTemplate uriTemplate, CollectionResourceProvider provider)Adds a new route to this router for the provided collection resource provider.RouteMatcher<Request>Router. addRoute(Router.UriTemplate uriTemplate, SingletonResourceProvider provider)Adds a new route to this router for the provided singleton resource provider.static RouteMatcher<Request>RouteMatchers. requestResourceApiVersionMatcher(Version version)Creates aRouteMatcherinstance that matches the request resource API version with the provided version.static RouteMatcher<Request>RouteMatchers. requestUriMatcher(RoutingMode mode, String template)Creates aRouteMatcherinstance that matchesRequests with the provided mode and template.protected RouteMatcher<Request>Router. uriMatcher(RoutingMode mode, String pattern)Methods in org.forgerock.json.resource that return types with arguments of type RouteMatcher Modifier and Type Method Description protected Pair<RouteMatcher<Request>,RequestHandler>Router. getSelfApiHandler() -
Uses of RouteMatcher in org.forgerock.services.routing
Subclasses of RouteMatcher in org.forgerock.services.routing Modifier and Type Class Description classDelegatingRouteMatcher<R>A route matcher that delegates to a provided route matcher.Fields in org.forgerock.services.routing declared as RouteMatcher Modifier and Type Field Description protected RouteMatcher<R>AbstractRouter. thisRouterUriMatcherMatches the current route.Methods in org.forgerock.services.routing that return RouteMatcher Modifier and Type Method Description protected abstract RouteMatcher<R>AbstractRouter. uriMatcher(RoutingMode mode, String pattern)Create a URI matcher suitable for the request type<R>.Methods in org.forgerock.services.routing that return types with arguments of type RouteMatcher Modifier and Type Method Description protected Map<RouteMatcher<R>,H>AbstractRouter. getRoutes()Gets all registered routes on this router.protected abstract Pair<RouteMatcher<R>,H>AbstractRouter. getSelfApiHandler()Return aDescribablehandler that returns thisAbstractRouter's internal api description from theDescribable.handleApiRequest(Context, Object)method.Methods in org.forgerock.services.routing with parameters of type RouteMatcher Modifier and Type Method Description TAbstractRouter. addRoute(RouteMatcher<R> matcher, H handler)Adds a new route to this router for the provided handler.booleanAbstractRouter. removeRoute(RouteMatcher<R>... routes)Removes one or more routes from this router.Constructors in org.forgerock.services.routing with parameters of type RouteMatcher Constructor Description DelegatingRouteMatcher(RouteMatcher<R> delegate)Create a new route matcher, delegating to the provided delegate.
-