Package org.ldaptive.transport
Class ResponseParser
- java.lang.Object
-
- org.ldaptive.transport.ResponseParser
-
public class ResponseParser extends Object
Parses a buffer looking for an LDAP response message.
-
-
Field Summary
Fields Modifier and Type Field Description private static DERPath
ADD_PATH
Add response DER path.private static DERPath
BIND_PATH
Bind response DER path.private static DERPath
COMPARE_PATH
Compare response DER path.private static DERPath
DELETE_PATH
Delete response DER path.private static DERPath
ENTRY_PATH
Search entry DER path.private static DERPath
EXTENDED_PATH
Extended response DER path.private static DERPath
INTERMEDIATE_PATH
Intermediate response DER path.private Message
message
Message produced from parsing a DER buffer.private static DERPath
MODIFY_DN_PATH
Modify DN response DER path.private static DERPath
MODIFY_PATH
Modify response DER path.private DERParser
parser
Parser for decoding LDAP messages.private static DERPath
SEARCH_PATH
Search response DER path.private static DERPath
SEARCH_REFERENCE_PATH
Search reference result DER path.
-
Constructor Summary
Constructors Constructor Description ResponseParser()
Creates a new response parser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Message>
parse(DERBuffer buffer)
Examines the supplied buffer and parses an LDAP response message if one is found.
-
-
-
Field Detail
-
BIND_PATH
private static final DERPath BIND_PATH
Bind response DER path.
-
ENTRY_PATH
private static final DERPath ENTRY_PATH
Search entry DER path.
-
SEARCH_PATH
private static final DERPath SEARCH_PATH
Search response DER path.
-
MODIFY_PATH
private static final DERPath MODIFY_PATH
Modify response DER path.
-
ADD_PATH
private static final DERPath ADD_PATH
Add response DER path.
-
DELETE_PATH
private static final DERPath DELETE_PATH
Delete response DER path.
-
MODIFY_DN_PATH
private static final DERPath MODIFY_DN_PATH
Modify DN response DER path.
-
COMPARE_PATH
private static final DERPath COMPARE_PATH
Compare response DER path.
-
SEARCH_REFERENCE_PATH
private static final DERPath SEARCH_REFERENCE_PATH
Search reference result DER path.
-
EXTENDED_PATH
private static final DERPath EXTENDED_PATH
Extended response DER path.
-
INTERMEDIATE_PATH
private static final DERPath INTERMEDIATE_PATH
Intermediate response DER path.
-
parser
private final DERParser parser
Parser for decoding LDAP messages.
-
message
private Message message
Message produced from parsing a DER buffer.
-
-