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 DERPath
Add response DER path.private static final DERPath
Bind response DER path.private static final DERPath
Compare response DER path.private static final DERPath
Delete response DER path.private static final DERPath
Search entry DER path.private static final DERPath
Extended response DER path.private static final DERPath
Intermediate response DER path.private Message
Message produced from parsing a DER buffer.private static final DERPath
Modify DN response DER path.private static final DERPath
Modify response DER path.private final DERParser
Parser for decoding LDAP messages.private static final DERPath
Search response DER path.private static final DERPath
Search 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
-