Package io.servicetalk.http.api
Interface LastHttpMetaData
-
public interface LastHttpMetaData
An indicator that can be attached to the last chunk of payload to carry trailer headers. This will signify the end of a request or response and no other data can come after this object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpHeaders
trailers()
Get the trailer headers.
-
-
-
Method Detail
-
trailers
HttpHeaders trailers()
Get the trailer headers.- Returns:
- the trailer headers
-
-