Interface OutboundHeaders

  • All Known Subinterfaces:
    Response
    All Known Implementing Classes:
    ExtendedResponse

    public interface OutboundHeaders
    The type-specific headers collection of an outbound message
    • Method Detail

      • getHeaderType

        HeaderType getHeaderType()
        Return the type of header key syntax used for this.
        Returns:
        An enum specifying the type of headers present.
        Since:
        3.5.0
      • setHeader

        void setHeader​(java.lang.String name,
                       java.lang.String value)
        Sets a response header with the given name and value.
        Parameters:
        name - The name of the header.
        value - The value of the header.
        Since:
        3.5.0