public interface HttpHeadersFactory
HttpHeaders
instances.
The default implementation is DefaultHttpHeadersFactory
,
and the default instance is DefaultHttpHeadersFactory.headersFactory()
.
限定符和类型 | 方法和说明 |
---|---|
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.