T
- The type of control decoded by this decoder.public interface ControlDecoder<T extends Control>
extends org.forgerock.opendj.ldap.controls.ControlDecoder<T>
Modifier and Type | Method and Description |
---|---|
T |
decode(boolean isCritical,
org.forgerock.opendj.ldap.ByteString value)
Decodes the provided control.
|
default T |
decodeControl(org.forgerock.opendj.ldap.controls.Control control,
org.forgerock.opendj.ldap.DecodeOptions options) |
String |
getOid()
Gets the OID of the control decoded by this decoded.
|
default T decodeControl(org.forgerock.opendj.ldap.controls.Control control, org.forgerock.opendj.ldap.DecodeOptions options) throws org.forgerock.opendj.ldap.DecodeException
T decode(boolean isCritical, org.forgerock.opendj.ldap.ByteString value) throws DirectoryException
isCritical
- Indicates whether the control should be considered critical.value
- The value for the control.DirectoryException
- If the control could not be decoded.Copyright © 2010–2017 ForgeRock AS. All rights reserved.