netscape.ldap
public class LDAPResponse extends 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_REQUEST
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage()
Returns any error message in the response.
|
java.lang.String |
getMatchedDN()
Returns the partially matched DN field, if any, in a server response.
|
java.lang.String[] |
getReferrals()
Returns all referrals, if any, in a server response.
|
int |
getResultCode()
Returns the result code in a server response.
|
getControls, getMessageID, getType, toString
public java.lang.String getErrorMessage()
null
if no message was set).public java.lang.String getMatchedDN()
null
.public java.lang.String[] getReferrals()
null
.public int getResultCode()