Package | Description |
---|---|
org.forgerock.http.routing | |
org.forgerock.json.resource | |
org.forgerock.services.routing |
Modifier and Type | Method and Description |
---|---|
static RouteMatcher<Request> |
RouteMatchers.requestResourceApiVersionMatcher(Version version)
Creates a
RouteMatcher instance that matches the request
resource API version with the provided version. |
static RouteMatcher<Request> |
RouteMatchers.requestUriMatcher(RoutingMode mode,
String template)
Creates a
RouteMatcher instance that matches Request s
with the provided mode and template. |
static RouteMatcher<Version> |
RouteMatchers.resourceApiVersionMatcher(Version version)
Creates a
RouteMatcher instance that matches the request
resource API version with the provided version. |
protected RouteMatcher<Request> |
Router.uriMatcher(RoutingMode mode,
String pattern) |
static RouteMatcher<List<String>> |
RouteMatchers.uriMatcher(RoutingMode mode,
String template)
Creates a
RouteMatcher instance that matches
ResourcePath s with the provided mode and
template. |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
static RouteMatcher<Request> |
RouteMatchers.requestResourceApiVersionMatcher(Version version)
Creates a
RouteMatcher instance that matches the request
resource API version with the provided version. |
static RouteMatcher<Request> |
RouteMatchers.requestUriMatcher(RoutingMode mode,
String template)
Creates a
RouteMatcher instance that matches Request s
with the provided mode and template. |
protected RouteMatcher<Request> |
Router.uriMatcher(RoutingMode mode,
String pattern) |
Modifier and Type | Class and Description |
---|---|
class |
DelegatingRouteMatcher<R>
A route matcher that delegates to a provided route matcher.
|
Modifier and Type | Field and Description |
---|---|
protected RouteMatcher<R> |
AbstractRouter.thisRouterUriMatcher
Matches the current route.
|
Modifier and Type | Method and Description |
---|---|
protected abstract RouteMatcher<R> |
AbstractRouter.uriMatcher(RoutingMode mode,
String pattern)
Create a URI matcher suitable for the request type
<R> . |
Modifier and Type | Method and Description |
---|---|
protected Map<RouteMatcher<R>,H> |
AbstractRouter.getRoutes()
Gets all registered routes on this router.
|
Modifier and Type | Method and Description |
---|---|
T |
AbstractRouter.addRoute(RouteMatcher<R> matcher,
H handler)
Adds a new route to this router for the provided handler.
|
boolean |
AbstractRouter.removeRoute(RouteMatcher<R>... routes)
Removes one or more routes from this router.
|
Constructor and Description |
---|
DelegatingRouteMatcher(RouteMatcher<R> delegate)
Create a new route matcher, delegating to the provided delegate.
|
Copyright © 2025 Open Identity Platform Community. All rights reserved.