Package akka.http.javadsl.model
Interface Trailer
- All Known Implementing Classes:
Trailer
public interface Trailer
Trailing headers for HTTP/2 responses
-
Method Summary
Modifier and TypeMethodDescriptionaddHeader
(HttpHeader header) Returns a copy of this trailer with the given header added to the list of headers.addHeaders
(scala.collection.Iterable<HttpHeader> headers) Returns a copy of this trailer with the given headers added to the list of headers.withHeaders
(scala.collection.Iterable<HttpHeader> headers) Returns a copy of this trailer with new headers.
-
Method Details
-
addHeader
Returns a copy of this trailer with the given header added to the list of headers.- Parameters:
header
- (undocumented)- Returns:
- (undocumented)
-
addHeaders
Returns a copy of this trailer with the given headers added to the list of headers.- Parameters:
headers
- (undocumented)- Returns:
- (undocumented)
-
withHeaders
Returns a copy of this trailer with new headers.- Parameters:
headers
- (undocumented)- Returns:
- (undocumented)
-