Package netscape.ldap

Class LDAPResponse

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    LDAPExtendedResponse

    public class LDAPResponse
    extends LDAPMessage
    Represents the response to a particular LDAP operation.
    Version:
    1.0
    See Also:
    Serialized Form
    • Method Detail

      • getErrorMessage

        public java.lang.String getErrorMessage()
        Returns any error message in the response.
        Returns:
        the error message of the last error (or null if no message was set).
      • getMatchedDN

        public java.lang.String 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

        public java.lang.String[] 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.