Package akka.http.javadsl.model
Interface Trailer
-
- All Known Implementing Classes:
Trailer
public interface TrailerTrailing headers for HTTP/2 responses
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TraileraddHeader(HttpHeader header)Returns a copy of this trailer with the given header added to the list of headers.TraileraddHeaders(scala.collection.Iterable<HttpHeader> headers)Returns a copy of this trailer with the given headers added to the list of headers.TrailerwithHeaders(scala.collection.Iterable<HttpHeader> headers)Returns a copy of this trailer with new headers.
-
-
-
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)
-
-