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.
|
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. |
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. |
Copyright 2011-2015 ForgeRock AS.