Package netscape.ldap
Class LDAPMessage
java.lang.Object
netscape.ldap.LDAPMessage
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LDAPResponse
,LDAPSearchResult
,LDAPSearchResultReference
Base class for LDAP request and response messages.
This class represents the LDAPMessage in RFC2251. The
message is the entity that got transferred back and
fro between the server and the client interface. Each
message has a protocol operation. The protocol operation
indicates if it is a request or response.
LDAPMessage ::= SEQUENCE { messageID MessageID, protocolOp CHOICE { bindRequest BindRequest, ... } controls [0] Controls OPTIONAL }
- Version:
- 1.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
-
Field Details
-
BIND_REQUEST
public static final int BIND_REQUEST- See Also:
-
BIND_RESPONSE
public static final int BIND_RESPONSE- See Also:
-
UNBIND_REQUEST
public static final int UNBIND_REQUEST- See Also:
-
SEARCH_REQUEST
public static final int SEARCH_REQUEST- See Also:
-
SEARCH_RESPONSE
public static final int SEARCH_RESPONSE- See Also:
-
SEARCH_RESULT
public static final int SEARCH_RESULT- See Also:
-
MODIFY_REQUEST
public static final int MODIFY_REQUEST- See Also:
-
MODIFY_RESPONSE
public static final int MODIFY_RESPONSE- See Also:
-
ADD_REQUEST
public static final int ADD_REQUEST- See Also:
-
ADD_RESPONSE
public static final int ADD_RESPONSE- See Also:
-
DEL_REQUEST
public static final int DEL_REQUEST- See Also:
-
DEL_RESPONSE
public static final int DEL_RESPONSE- See Also:
-
MODIFY_RDN_REQUEST
public static final int MODIFY_RDN_REQUEST- See Also:
-
MODIFY_RDN_RESPONSE
public static final int MODIFY_RDN_RESPONSE- See Also:
-
COMPARE_REQUEST
public static final int COMPARE_REQUEST- See Also:
-
COMPARE_RESPONSE
public static final int COMPARE_RESPONSE- See Also:
-
ABANDON_REQUEST
public static final int ABANDON_REQUEST- See Also:
-
SEARCH_RESULT_REFERENCE
public static final int SEARCH_RESULT_REFERENCE- See Also:
-
EXTENDED_REQUEST
public static final int EXTENDED_REQUEST- See Also:
-
EXTENDED_RESPONSE
public static final int EXTENDED_RESPONSE- See Also:
-
-
Method Details
-
getMessageID
public int getMessageID()Returns the message identifer.- Returns:
- message identifer.
-
getType
public int getType()Returns the LDAP operation type of the message- Returns:
- message type.
-
getControls
Retrieves list of controls.- Returns:
- controls.
-
toString
Returns string representation of an LDAP message.
-