Package | Description |
---|---|
org.forgerock.json.resource |
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractConnectionWrapper<C extends Connection>
An abstract base class from which connection wrappers may be easily
implemented.
|
Modifier and Type | Field and Description |
---|---|
protected C |
AbstractConnectionWrapper.connection
The wrapped connection.
|
Modifier and Type | Method and Description |
---|---|
Connection |
ConnectionFactory.getConnection()
Returns a connection to the JSON resource provider associated with this
connection factory.
|
static Connection |
Resources.newInternalConnection(RequestHandler handler)
Creates a new connection to a
RequestHandler . |
static Connection |
Resources.uncloseable(Connection connection)
Returns an uncloseable view of the provided connection.
|
Modifier and Type | Method and Description |
---|---|
Promise<Connection,ResourceException> |
ConnectionFactory.getConnectionAsync()
Asynchronously obtains a connection to the JSON resource provider
associated with this connection factory.
|
Modifier and Type | Method and Description |
---|---|
static Connection |
Resources.uncloseable(Connection connection)
Returns an uncloseable view of the provided connection.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.