Class ExtendedResponse

  • All Implemented Interfaces:
    Message, Result
    Direct Known Subclasses:
    UnsolicitedNotification

    public class ExtendedResponse
    extends AbstractResult
    LDAP extended response defined as:
       ExtendedResponse ::= [APPLICATION 24] SEQUENCE {
         COMPONENTS OF LDAPResult,
         responseName     [10] LDAPOID OPTIONAL,
         responseValue    [11] OCTET STRING OPTIONAL }
     
    • Field Detail

      • HASH_CODE_SEED

        private static final int HASH_CODE_SEED
        hash code seed.
        See Also:
        Constant Field Values
      • RESULT_CODE_PATH

        private static final DERPath RESULT_CODE_PATH
        DER path to result code.
      • MATCHED_DN_PATH

        private static final DERPath MATCHED_DN_PATH
        DER path to matched DN.
      • DIAGNOSTIC_MESSAGE_PATH

        private static final DERPath DIAGNOSTIC_MESSAGE_PATH
        DER path to diagnostic message.
      • REFERRAL_PATH

        private static final DERPath REFERRAL_PATH
        DER path to referral.
      • NAME_PATH

        private static final DERPath NAME_PATH
        DER path to name.
      • VALUE_PATH

        private static final DERPath VALUE_PATH
        DER path to value.
      • responseName

        private String responseName
        Response name.
      • responseValue

        private byte[] responseValue
        Response value.
    • Constructor Detail

      • ExtendedResponse

        protected ExtendedResponse()
        Default constructor.
      • ExtendedResponse

        public ExtendedResponse​(DERBuffer buffer)
        Creates a new extended response.
        Parameters:
        buffer - to decode
    • Method Detail

      • getResponseName

        public String getResponseName()
      • setResponseName

        public void setResponseName​(String name)
      • getResponseValue

        public byte[] getResponseValue()
      • setResponseValue

        public void setResponseValue​(byte[] value)
      • hashCode

        public int hashCode()
        Description copied from class: AbstractMessage
        Returns the hash code for this object.
        Specified by:
        hashCode in class AbstractMessage
        Returns:
        hash code