Package | Description |
---|---|
org.forgerock.json.resource |
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
|
org.forgerock.json.resource.http |
JSON resource Commons HTTP Framework integration.
|
Modifier and Type | Method and Description |
---|---|
ConnectionFactory |
CrestApplication.getConnectionFactory()
Get the connection factory for the application.
|
static ConnectionFactory |
Resources.newInternalConnectionFactory(RequestHandler handler)
Creates a new connection factory which binds internal client connections
to
RequestHandler s. |
static ConnectionFactory |
Resources.uncloseable(ConnectionFactory factory)
Returns an uncloseable view of the provided connection factory.
|
Modifier and Type | Method and Description |
---|---|
static CrestApplication |
Applications.simpleCrestApplication(ConnectionFactory factory,
String id,
String version)
Create a simple
CrestApplication using the provided factory, id and version. |
static ConnectionFactory |
Resources.uncloseable(ConnectionFactory factory)
Returns an uncloseable view of the provided connection factory.
|
Modifier and Type | Method and Description |
---|---|
static ConnectionFactory |
CrestHttp.newConnectionFactory(org.forgerock.http.Handler handler,
URI uri)
Creates a new
ConnectionFactory that map back and forth JSON resource objects to CHF objects. |
Modifier and Type | Method and Description |
---|---|
static org.forgerock.http.Handler |
CrestHttp.newHttpHandler(ConnectionFactory connectionFactory)
Deprecated.
Use
CrestHttp.newHttpHandler(CrestApplication) instead. |
static org.forgerock.http.Handler |
CrestHttp.newHttpHandler(ConnectionFactory connectionFactory,
org.forgerock.services.context.Context parentContext)
Deprecated.
Use
CrestHttp.newHttpHandler(CrestApplication) instead. |
static org.forgerock.http.Handler |
CrestHttp.newHttpHandler(ConnectionFactory connectionFactory,
HttpContextFactory contextFactory)
Deprecated.
Use
CrestHttp.newHttpHandler(CrestApplication) instead. |
Copyright 2010-2018 ForgeRock AS.