Package org.ldaptive.provider.unboundid
Class UnboundIDControlHandler
- java.lang.Object
-
- org.ldaptive.provider.unboundid.UnboundIDControlHandler
-
- All Implemented Interfaces:
ControlHandler<com.unboundid.ldap.sdk.Control>
public class UnboundIDControlHandler extends Object implements ControlHandler<com.unboundid.ldap.sdk.Control>
Unbound ID control handler.
-
-
Constructor Summary
Constructors Constructor Description UnboundIDControlHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<com.unboundid.ldap.sdk.Control>
getControlType()
Returns the type of control that is handled.String
getOID(com.unboundid.ldap.sdk.Control control)
Returns the OID of the supplied control.com.unboundid.ldap.sdk.Control
handleRequest(RequestControl requestControl)
Converts the supplied control to a provider specific request control.ResponseControl
handleResponse(com.unboundid.ldap.sdk.Control responseControl)
Converts the supplied provider control to a response control.
-
-
-
Method Detail
-
getControlType
public Class<com.unboundid.ldap.sdk.Control> getControlType()
Description copied from interface:ControlHandler
Returns the type of control that is handled.- Specified by:
getControlType
in interfaceControlHandler<com.unboundid.ldap.sdk.Control>
- Returns:
- type of control
-
getOID
public String getOID(com.unboundid.ldap.sdk.Control control)
Description copied from interface:ControlHandler
Returns the OID of the supplied control.- Specified by:
getOID
in interfaceControlHandler<com.unboundid.ldap.sdk.Control>
- Parameters:
control
- to return oid for- Returns:
- control oid
-
handleRequest
public com.unboundid.ldap.sdk.Control handleRequest(RequestControl requestControl)
Description copied from interface:ControlHandler
Converts the supplied control to a provider specific request control.- Specified by:
handleRequest
in interfaceControlHandler<com.unboundid.ldap.sdk.Control>
- Parameters:
requestControl
- to convert- Returns:
- provider specific controls
-
handleResponse
public ResponseControl handleResponse(com.unboundid.ldap.sdk.Control responseControl)
Description copied from interface:ControlHandler
Converts the supplied provider control to a response control.- Specified by:
handleResponse
in interfaceControlHandler<com.unboundid.ldap.sdk.Control>
- Parameters:
responseControl
- to convert- Returns:
- control
-
-