Class Trailer

  • All Implemented Interfaces:
    Trailer

    public class Trailer
    extends java.lang.Object
    implements Trailer
    • Constructor Detail

      • Trailer

        public Trailer​(scala.collection.immutable.Seq<scala.Tuple2<java.lang.String,​java.lang.String>> headers)
    • Method Detail

      • apply

        public static Trailer apply()
      • apply

        public static Trailer apply​(scala.collection.immutable.Seq<HttpHeader> headers)
      • headers

        public scala.collection.immutable.Seq<scala.Tuple2<java.lang.String,​java.lang.String>> headers()
      • addHeader

        public Trailer addHeader​(HttpHeader header)
        Java API
        Specified by:
        addHeader in interface Trailer
        Parameters:
        header - (undocumented)
        Returns:
        (undocumented)
      • addHeaders

        public Trailer addHeaders​(scala.collection.Iterable<HttpHeader> headers)
        Java API
        Specified by:
        addHeaders in interface Trailer
        Parameters:
        headers - (undocumented)
        Returns:
        (undocumented)
      • withHeaders

        public Trailer withHeaders​(scala.collection.Iterable<HttpHeader> headers)
        Java API
        Specified by:
        withHeaders in interface Trailer
        Parameters:
        headers - (undocumented)
        Returns:
        (undocumented)