Uses of Interface
org.forgerock.json.resource.ConnectionFactory
Package
Description
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
JSON resource Commons HTTP Framework integration.
APIs for implementing REST to LDAP gateways.
-
Uses of ConnectionFactory in org.forgerock.json.resource
Modifier and TypeMethodDescriptionCrestApplication.getConnectionFactory()
Get the connection factory for the application.static ConnectionFactory
Resources.newInternalConnectionFactory
(RequestHandler handler) Creates a new connection factory which binds internal client connections toRequestHandler
s.static ConnectionFactory
Resources.uncloseable
(ConnectionFactory factory) Returns an uncloseable view of the provided connection factory.Modifier and TypeMethodDescriptionstatic CrestApplication
Applications.multipartCrestApplication
(ConnectionFactory factory, String id, String version) Create a simpleCrestApplication
that allows multipart/form-data requests using the provided factory, id and version.static CrestApplication
Applications.simpleCrestApplication
(ConnectionFactory factory, String id, String version) Create a simpleCrestApplication
using the provided factory, id and version.static ConnectionFactory
Resources.uncloseable
(ConnectionFactory factory) Returns an uncloseable view of the provided connection factory. -
Uses of ConnectionFactory in org.forgerock.json.resource.http
Modifier and TypeMethodDescriptionstatic ConnectionFactory
CrestHttp.newConnectionFactory
(org.forgerock.http.Handler handler, URI uri) Creates a newConnectionFactory
that map back and forth JSON resource objects to CHF objects.Modifier and TypeMethodDescriptionstatic org.forgerock.http.Handler
CrestHttp.newHttpHandler
(ConnectionFactory connectionFactory) Deprecated.static org.forgerock.http.Handler
CrestHttp.newHttpHandler
(ConnectionFactory connectionFactory, HttpContextFactory contextFactory) Deprecated.UseCrestHttp.newHttpHandler(CrestApplication)
instead.static org.forgerock.http.Handler
CrestHttp.newHttpHandler
(ConnectionFactory connectionFactory, org.forgerock.services.context.Context parentContext) Deprecated.UseCrestHttp.newHttpHandler(CrestApplication)
instead. -
Uses of ConnectionFactory in org.forgerock.opendj.rest2ldap
Modifier and TypeMethodDescriptionstatic ConnectionFactory
JsonFilteredResources.newInternalConnectionFactory
(RequestHandler handler) Creates a new connection factory which binds internal client connections toRequestHandler
s.static ConnectionFactory
JsonUnfilteredResources.newInternalConnectionFactory
(RequestHandler handler) Creates a new connection factory which binds internal client connections toRequestHandler
s.
CrestHttp.newHttpHandler(CrestApplication)
instead.