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