public interface HttpHeadersFactory
HttpHeaders
instances.
The default implementation is DefaultHttpHeadersFactory
,
and the default instance is DefaultHttpHeadersFactory.headersFactory()
.
Modifier and Type | Method and Description |
---|---|
HttpHeaders |
newEmptyHeaders()
Create a new
HttpHeaders instance, but sized to be as small an object as possible. |
HttpHeaders |
newHeaders()
Create a new
HttpHeaders instance. |
HttpHeaders newHeaders()
HttpHeaders
instance.HttpHeaders newEmptyHeaders()
HttpHeaders
instance, but sized to be as small an object as possible.Copyright © 2008–2024 The Netty Project. All rights reserved.