Class IntermediateResponse

  • All Implemented Interfaces:
    Message
    Direct Known Subclasses:
    SyncInfoMessage

    public class IntermediateResponse
    extends AbstractMessage
    LDAP extended response defined as:
       IntermediateResponse ::= [APPLICATION 25] SEQUENCE {
         responseName     [0] LDAPOID OPTIONAL,
         responseValue    [1] OCTET STRING OPTIONAL }
     
    • Field Detail

      • HASH_CODE_SEED

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

        private String responseName
        Response name.
      • responseValue

        private byte[] responseValue
        Response value.
    • Constructor Detail

      • IntermediateResponse

        protected IntermediateResponse()
        Default constructor.
      • IntermediateResponse

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

      • getResponseValueParseHandler

        @Deprecated
        protected ParseHandler getResponseValueParseHandler()
        Deprecated.
        this method was originally intended for use by subclasses to reduce the complexity of parsing. Unfortunately performing parsing as part of class construction can have side effects. Most notably, subclasses that do variable initialization will overwrite the results of the parsing.
        Returns the parse handler for the response value.
        Returns:
        parse handler
      • getResponseName

        public String getResponseName()
      • setResponseName

        protected void setResponseName​(String name)
      • getResponseValue

        public byte[] getResponseValue()
      • setResponseValue

        protected 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