- All Superinterfaces:
Headers,Iterable<Header>,WritableHeaders<ServerResponseTrailers>
Mutable trailers of a server response.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ServerResponseTrailerscreate()Create a new instance of mutable server response trailers.static ServerResponseTrailersCreate a new instance of mutable server response trailers.static ServerResponseTrailerswrap(WritableHeaders<?> existing) Create a new instance of mutable server response trailers by wrapping existing writable trailers.Methods inherited from interface io.helidon.http.Headers
acceptedTypes, all, contains, contains, contentLength, contentType, find, first, get, isAccepted, size, stream, toMap, value, valuesMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface io.helidon.http.WritableHeaders
add, add, add, add, clear, contentLength, contentType, from, remove, remove, set, set, set, set, set, setIfAbsent
-
Method Details
-
create
Create a new instance of mutable server response trailers.- Returns:
- new server response trailers
-
create
Create a new instance of mutable server response trailers.- Parameters:
existing- trailers to add to these response trailers- Returns:
- new server response trailers
-
wrap
Create a new instance of mutable server response trailers by wrapping existing writable trailers. Any updates to this class will also impact the underlying trailers.- Parameters:
existing- trailers to wrap- Returns:
- new server response trailers
-