Class LDAPResponse
java.lang.Object
netscape.ldap.LDAPMessage
netscape.ldap.LDAPResponse
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LDAPExtendedResponse
Represents the response to a particular LDAP operation.
- Version:
- 1.0
- See Also:
-
Field Summary
Fields inherited from class LDAPMessage
ABANDON_REQUEST, ADD_REQUEST, ADD_RESPONSE, BIND_REQUEST, BIND_RESPONSE, COMPARE_REQUEST, COMPARE_RESPONSE, DEL_REQUEST, DEL_RESPONSE, EXTENDED_REQUEST, EXTENDED_RESPONSE, MODIFY_RDN_REQUEST, MODIFY_RDN_RESPONSE, MODIFY_REQUEST, MODIFY_RESPONSE, SEARCH_REQUEST, SEARCH_RESPONSE, SEARCH_RESULT, SEARCH_RESULT_REFERENCE, UNBIND_REQUESTModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionReturns any error message in the response.Returns the partially matched DN field, if any, in a server response.String[]Returns all referrals, if any, in a server response.intReturns the result code in a server response.Methods inherited from class LDAPMessage
getControls, getMessageID, getType, toString
-
Method Details
-
getErrorMessage
Returns any error message in the response.- Returns:
- the error message of the last error (or
nullif no message was set).
-
getMatchedDN
Returns the partially matched DN field, if any, in a server response.- Returns:
- the maximal subset of a DN to match,
or
null.
-
getReferrals
Returns all referrals, if any, in a server response.- Returns:
- a list of referrals or
null.
-
getResultCode
public int getResultCode()Returns the result code in a server response.- Returns:
- the result code.
-