Package io.netty.handler.codec.http
Interface HttpHeadersFactory
- All Known Implementing Classes:
DefaultHttpHeadersFactory
public interface HttpHeadersFactory
An interface for creating
HttpHeaders
instances.
The default implementation is DefaultHttpHeadersFactory
,
and the default instance is DefaultHttpHeadersFactory.headersFactory()
.
-
Method Summary
Modifier and TypeMethodDescriptionCreate a newHttpHeaders
instance, but sized to be as small an object as possible.Create a newHttpHeaders
instance.
-
Method Details
-
newHeaders
HttpHeaders newHeaders()Create a newHttpHeaders
instance. -
newEmptyHeaders
HttpHeaders newEmptyHeaders()Create a newHttpHeaders
instance, but sized to be as small an object as possible.
-