C
- The type of control decoded by this control decoder.public interface ControlDecoder<C extends Control>
Modifier and Type | Method and Description |
---|---|
default C |
decodeControl(Control control)
Decodes the provided control as a
Control of type C using the default decode options. |
C |
decodeControl(Control control,
DecodeOptions options)
Decodes the provided control as a
Control of type C . |
String |
getOid()
Returns the numeric OID associated with this control decoder.
|
C decodeControl(Control control, DecodeOptions options) throws DecodeException
Control
of type C
.control
- The control to be decoded.options
- The set of decode options which should be used when decoding
the control.DecodeException
- If the control contained the wrong OID, it did not have a
value, or if its value could not be decoded.default C decodeControl(Control control) throws DecodeException
Control
of type C
using the default decode options.control
- The control to be decoded.DecodeException
- If the control contained the wrong OID, it did not have a value,
or if its value could not be decoded.String getOid()
Copyright 2010-2022 ForgeRock AS.