Constructor and Description |
---|
Trailer(scala.collection.immutable.Seq<scala.Tuple2<java.lang.String,java.lang.String>> headers) |
Modifier and Type | Method and Description |
---|---|
Trailer |
addHeader(HttpHeader header)
Java API
|
Trailer |
addHeaders(scala.collection.Iterable<HttpHeader> headers)
Java API
|
static Trailer |
apply() |
static Trailer |
apply(HttpHeader header) |
static Trailer |
apply(scala.collection.immutable.Seq<HttpHeader> headers) |
scala.collection.immutable.Seq<scala.Tuple2<java.lang.String,java.lang.String>> |
headers() |
Trailer |
withHeaders(scala.collection.Iterable<HttpHeader> headers)
Java API
|
public Trailer(scala.collection.immutable.Seq<scala.Tuple2<java.lang.String,java.lang.String>> headers)
public static Trailer apply()
public static Trailer apply(HttpHeader header)
public static Trailer apply(scala.collection.immutable.Seq<HttpHeader> headers)
public scala.collection.immutable.Seq<scala.Tuple2<java.lang.String,java.lang.String>> headers()
public Trailer addHeader(HttpHeader header)
public Trailer addHeaders(scala.collection.Iterable<HttpHeader> headers)
addHeaders
in interface Trailer
headers
- (undocumented)public Trailer withHeaders(scala.collection.Iterable<HttpHeader> headers)
withHeaders
in interface Trailer
headers
- (undocumented)