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.
-
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
(Handler handler, URI uri) Creates a newConnectionFactory
that map back and forth JSON resource objects to CHF objects.Modifier and TypeMethodDescriptionstatic Handler
CrestHttp.newHttpHandler
(ConnectionFactory connectionFactory) Deprecated.static Handler
CrestHttp.newHttpHandler
(ConnectionFactory connectionFactory, HttpContextFactory contextFactory) Deprecated.UseCrestHttp.newHttpHandler(CrestApplication)
instead.static Handler
CrestHttp.newHttpHandler
(ConnectionFactory connectionFactory, Context parentContext) Deprecated.UseCrestHttp.newHttpHandler(CrestApplication)
instead.
CrestHttp.newHttpHandler(CrestApplication)
instead.