Class Response

  • All Implemented Interfaces:
    StreamElement

    public final class Response
    extends Object
    implements StreamElement
    The implementation of the <response/> element, which is sent during the SASL negotiation.

    6.4.3. Challenge-Response Sequence

    The initiating entity responds to the challenge by sending a <response/> element qualified by the 'urn:ietf:params:xml:ns:xmpp-sasl' namespace; this element MAY contain XML character data (which MUST be generated in accordance with the definition of the SASL mechanism chosen by the initiating entity).

    This class is immutable.

    See Also:
    Challenge
    • Constructor Detail

      • Response

        public Response​(byte[] value)
        Creates a response to a Challenge.
        Parameters:
        value - The value.
    • Method Detail

      • getValue

        public final byte[] getValue()
        Gets the value.
        Returns:
        The value.