Package org.ldaptive
Class AbstractMessage.ControlParser
- java.lang.Object
-
- org.ldaptive.AbstractMessage.ControlParser
-
- Enclosing class:
- AbstractMessage
protected static class AbstractMessage.ControlParser extends Object
Parses a buffer containing an LDAP control.
-
-
Field Summary
Fields Modifier and Type Field Description private static DERPathALT_VALUE_PATHDER path to alternate value.private BooleancriticalControl criticality.private static DERPathCRITICAL_PATHDER path to criticality.private StringoidControl oid.private static DERPathOID_PATHDER path to OID.private DERParserparserParser for decoding LDAP controls.private DERBuffervalueControl value.private static DERPathVALUE_PATHDER path to value.
-
Constructor Summary
Constructors Constructor Description ControlParser()Creates a new control parser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Boolean>getCritical()Returns the control criticality.Optional<String>getOid()Returns the control oid.Optional<DERBuffer>getValue()Returns the control value.voidparse(DERBuffer buffer)Examines the supplied buffer and parses an LDAP control if one is found.
-
-
-
Field Detail
-
CRITICAL_PATH
private static final DERPath CRITICAL_PATH
DER path to criticality.
-
OID_PATH
private static final DERPath OID_PATH
DER path to OID.
-
VALUE_PATH
private static final DERPath VALUE_PATH
DER path to value.
-
ALT_VALUE_PATH
private static final DERPath ALT_VALUE_PATH
DER path to alternate value.
-
parser
private final DERParser parser
Parser for decoding LDAP controls.
-
critical
private Boolean critical
Control criticality.
-
oid
private String oid
Control oid.
-
value
private DERBuffer value
Control value.
-
-