Interface Trailer

  • All Known Implementing Classes:
    Trailer

    public interface Trailer
    Trailing headers for HTTP/2 responses
    • Method Detail

      • addHeader

        Trailer addHeader​(HttpHeader header)
        Returns a copy of this trailer with the given header added to the list of headers.
        Parameters:
        header - (undocumented)
        Returns:
        (undocumented)
      • addHeaders

        Trailer addHeaders​(scala.collection.Iterable<HttpHeader> headers)
        Returns a copy of this trailer with the given headers added to the list of headers.
        Parameters:
        headers - (undocumented)
        Returns:
        (undocumented)
      • withHeaders

        Trailer withHeaders​(scala.collection.Iterable<HttpHeader> headers)
        Returns a copy of this trailer with new headers.
        Parameters:
        headers - (undocumented)
        Returns:
        (undocumented)