public interface HttpHeadersFactory
HttpHeaders
.Modifier and Type | Method and Description |
---|---|
default HttpHeaders |
newEmptyTrailers()
Create an
HttpHeaders instance designed to hold
trailers, possibly optimized for being empty. |
HttpHeaders |
newHeaders()
Create an
HttpHeaders instance. |
HttpHeaders |
newTrailers()
Create an
HttpHeaders instance designed to hold
trailers. |
boolean |
validateCookies()
Determine if a cookies should be validated during parsing into
HttpSetCookie s. |
HttpHeaders newHeaders()
HttpHeaders
instance.HttpHeaders
instance.HttpHeaders newTrailers()
HttpHeaders
instance designed to hold
trailers.HttpHeaders
instance.default HttpHeaders newEmptyTrailers()
HttpHeaders
instance designed to hold
trailers, possibly optimized for being empty.
Note: this should not return an immutable instance unless it is known that no code will need to mutate the trailers.
HttpHeaders
instance.boolean validateCookies()
HttpSetCookie
s.true
if a cookies should be validated during parsing into HttpSetCookie
s.