Package org.ldaptive.transport
Class ResponseParser
java.lang.Object
org.ldaptive.transport.ResponseParser
Parses a buffer looking for an LDAP response message.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DERPathAdd response DER path.private static final DERPathBind response DER path.private static final DERPathCompare response DER path.private static final DERPathDelete response DER path.private static final DERPathSearch entry DER path.private static final DERPathExtended response DER path.private static final DERPathIntermediate response DER path.private MessageMessage produced from parsing a DER buffer.private static final DERPathModify DN response DER path.private static final DERPathModify response DER path.private final DERParserParser for decoding LDAP messages.private static final DERPathSearch response DER path.private static final DERPathSearch reference result DER path. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BIND_PATH
Bind response DER path. -
ENTRY_PATH
Search entry DER path. -
SEARCH_PATH
Search response DER path. -
MODIFY_PATH
Modify response DER path. -
ADD_PATH
Add response DER path. -
DELETE_PATH
Delete response DER path. -
MODIFY_DN_PATH
Modify DN response DER path. -
COMPARE_PATH
Compare response DER path. -
SEARCH_REFERENCE_PATH
Search reference result DER path. -
EXTENDED_PATH
Extended response DER path. -
INTERMEDIATE_PATH
Intermediate response DER path. -
parser
Parser for decoding LDAP messages. -
message
Message produced from parsing a DER buffer.
-
-
Constructor Details
-
ResponseParser
public ResponseParser()Creates a new response parser.
-
-
Method Details
-
parse
Examines the supplied buffer and parses an LDAP response message if one is found.- Parameters:
buffer- to parse- Returns:
- optional LDAP message
-