Package | Description |
---|---|
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 Router.UriTemplate |
Router.uriTemplate(String template)
Creates a
Router.UriTemplate from a URI template string that will be
used to match and route incoming requests. |
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.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.