Class SaslResponseFrame

  • All Implemented Interfaces:
    SaslFrameIF, FrameIF, Writable

    public class SaslResponseFrame
    extends AMQPFrame
    implements SaslFrameIF

    Send the SASL response data as defined by the SASL specification.

    Version:
    AMQP Version v100. Generation Date: Wed Apr 18 14:09:32 CEST 2012
    Author:
    IIT Software GmbH, Bremen/Germany, (c) 2012, All Rights Reserved
    • Constructor Detail

      • SaslResponseFrame

        public SaslResponseFrame​(int channel,
                                 AMQPList body)
                          throws java.lang.Exception
        Constructs a SaslResponseFrame.
        Parameters:
        channel - the channel id
        body - the frame body
        Throws:
        java.lang.Exception
      • SaslResponseFrame

        public SaslResponseFrame​(int channel)
        Constructs a SaslResponseFrame.
        Parameters:
        channel - the channel id
    • Method Detail

      • getResponse

        public AMQPBinary getResponse()
        Returns the mandatory Response field.
        Returns:
        Response
      • setResponse

        public void setResponse​(AMQPBinary response)
        Sets the mandatory Response field.

        A block of opaque data passed to the security mechanism. The contents of this data are defined by the SASL security mechanism.

        Parameters:
        response - Response
      • writeBody

        protected void writeBody​(java.io.DataOutput out)
                          throws java.io.IOException
        Specified by:
        writeBody in class AMQPFrame
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class AMQPFrame