Interface ControlDecoder<T extends Control>

  • Type Parameters:
    T - The type of control decoded by this decoder.

    public interface ControlDecoder<T extends Control>
    An interface for decoding controls.
    • Method Detail

      • decode

        T decode​(boolean isCritical,
                 ByteString value)
          throws DirectoryException
        Decodes the provided control.
        Parameters:
        isCritical - Indicates whether the control should be considered critical.
        value - The value for the control.
        Returns:
        The decoded control.
        Throws:
        DirectoryException - If the control could not be decoded.
      • getOID

        String getOID()
        Gets the OID of the control decoded by this decoded.
        Returns:
        The OID of the control decoded by this decoded.