Package org.opends.server.controls
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tdecode(boolean isCritical, ByteString value)Decodes the provided control.StringgetOID()Gets the OID of the control decoded by this decoded.
-
-
-
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.
-
-