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.
|
Modifier and Type | Method and Description |
---|---|
static RoutingMode |
RoutingMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoutingMode[] |
RoutingMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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) |
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(RoutingMode mode,
Router.UriTemplate uriTemplate,
RequestHandler handler)
Adds a new route to this router for the provided request handler.
|
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 | Method and Description |
---|---|
protected abstract RouteMatcher<R> |
AbstractRouter.uriMatcher(RoutingMode mode,
String pattern)
Create a URI matcher suitable for the request type
<R> . |
Copyright © 2010-2018, ForgeRock All Rights Reserved.