Class 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 Detail

      • UnboundIDControlHandler

        public UnboundIDControlHandler()
    • 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 interface ControlHandler<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 interface ControlHandler<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 interface ControlHandler<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 interface ControlHandler<com.unboundid.ldap.sdk.Control>
        Parameters:
        responseControl - to convert
        Returns:
        control