Package akka.http.scaladsl.model
Class Trailer
- java.lang.Object
-
- akka.http.scaladsl.model.Trailer
-
-
Constructor Summary
Constructors Constructor Description Trailer(scala.collection.immutable.Seq<scala.Tuple2<java.lang.String,java.lang.String>> headers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Trailer
addHeader(HttpHeader header)
Java APITrailer
addHeaders(scala.collection.Iterable<HttpHeader> headers)
Java APIstatic 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
-
-
-
Method Detail
-
apply
public static Trailer apply()
-
apply
public static Trailer apply(HttpHeader header)
-
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
-
addHeaders
public Trailer addHeaders(scala.collection.Iterable<HttpHeader> headers)
Java API- Specified by:
addHeaders
in interfaceTrailer
- Parameters:
headers
- (undocumented)- Returns:
- (undocumented)
-
withHeaders
public Trailer withHeaders(scala.collection.Iterable<HttpHeader> headers)
Java API- Specified by:
withHeaders
in interfaceTrailer
- Parameters:
headers
- (undocumented)- Returns:
- (undocumented)
-
-