netscape.ldap
Class LDAPResponse
- java.io.Serializable
public class LDAPResponse
Represents the response to a particular LDAP operation.
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 |
String | getErrorMessage() - Returns any error message in the response.
|
String | getMatchedDN() - Returns the partially matched DN field, if any, in a server response.
|
String[] | getReferrals() - Returns all referrals, if any, in a server response.
|
int | getResultCode() - Returns the result code in a server response.
|
getErrorMessage
public String getErrorMessage()
Returns any error message in the response.
- the error message of the last error (or
null
if no message was set).
getMatchedDN
public String getMatchedDN()
Returns the partially matched DN field, if any, in a server response.
- the maximal subset of a DN to match,
or
null
.
getReferrals
public String[] getReferrals()
Returns all referrals, if any, in a server response.
- a list of referrals or
null
.
getResultCode
public int getResultCode()
Returns the result code in a server response.