Package org.forgerock.opendj.rest2ldap
Class JsonFilteredResources
- java.lang.Object
-
- org.forgerock.opendj.rest2ldap.JsonFilteredResources
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Connection
newInternalConnection(RequestHandler handler)
Creates a new connection to aRequestHandler
.static ConnectionFactory
newInternalConnectionFactory(RequestHandler handler)
Creates a new connection factory which binds internal client connections toRequestHandler
s.
-
-
-
Method Detail
-
newInternalConnection
public static Connection newInternalConnection(RequestHandler handler)
Creates a new connection to aRequestHandler
.- Parameters:
handler
- The request handler to which client requests should be forwarded.- Returns:
- The new internal connection.
- Throws:
NullPointerException
- Ifhandler
wasnull
.
-
newInternalConnectionFactory
public static ConnectionFactory newInternalConnectionFactory(RequestHandler handler)
Creates a new connection factory which binds internal client connections toRequestHandler
s.- Parameters:
handler
- The request handler to which client requests should be forwarded.- Returns:
- The new internal connection factory.
- Throws:
NullPointerException
- Ifhandler
wasnull
.
-
-