Uses of Interface
io.netty.handler.codec.http.HttpHeadersFactory
-
Packages that use HttpHeadersFactory Package Description io.netty.handler.codec.http Encoder, decoder and their related message types for HTTP.io.netty.handler.codec.spdy Encoder, decoder, session handler and their related message types for the SPDY protocol. -
-
Uses of HttpHeadersFactory in io.netty.handler.codec.http
Classes in io.netty.handler.codec.http that implement HttpHeadersFactory Modifier and Type Class Description class
DefaultHttpHeadersFactory
A builder ofHttpHeadersFactory
instances, that itself implementsHttpHeadersFactory
.Fields in io.netty.handler.codec.http declared as HttpHeadersFactory Modifier and Type Field Description protected HttpHeadersFactory
HttpObjectDecoder. headersFactory
protected HttpHeadersFactory
HttpObjectDecoder. trailersFactory
Methods in io.netty.handler.codec.http that return HttpHeadersFactory Modifier and Type Method Description HttpHeadersFactory
HttpDecoderConfig. getHeadersFactory()
HttpHeadersFactory
HttpDecoderConfig. getTrailersFactory()
Methods in io.netty.handler.codec.http with parameters of type HttpHeadersFactory Modifier and Type Method Description protected boolean
HttpObjectDecoder. isValidating(HttpHeadersFactory headersFactory)
HttpDecoderConfig
HttpDecoderConfig. setHeadersFactory(HttpHeadersFactory headersFactory)
Set theHttpHeadersFactory
to use when creating new HTTP headers objects.HttpDecoderConfig
HttpDecoderConfig. setTrailersFactory(HttpHeadersFactory trailersFactory)
Set theHttpHeadersFactory
used to create HTTP trailers.Constructors in io.netty.handler.codec.http with parameters of type HttpHeadersFactory Constructor Description DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, ByteBuf content, HttpHeadersFactory headersFactory, HttpHeadersFactory trailersFactory)
Create a full HTTP response with the given HTTP version, method, URI, contents, and factories for creating headers and trailers.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content, HttpHeadersFactory headersFactory, HttpHeadersFactory trailersFactory)
Create an HTTP response with the given HTTP version, status, contents, and with headers and trailers created by the given header factories.DefaultHttpMessage(HttpVersion version, HttpHeadersFactory headersFactory)
Creates a new instance.DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, HttpHeadersFactory headersFactory)
Creates a new instance.DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, HttpHeadersFactory headersFactory)
Creates a new instance.DefaultLastHttpContent(ByteBuf content, HttpHeadersFactory trailersFactory)
Create a new last HTTP content message with the given contents, and trailing headers from the given factory.HttpServerUpgradeHandler(HttpServerUpgradeHandler.SourceCodec sourceCodec, HttpServerUpgradeHandler.UpgradeCodecFactory upgradeCodecFactory, int maxContentLength, HttpHeadersFactory headersFactory, HttpHeadersFactory trailersFactory)
Constructs the upgrader with the supported codecs. -
Uses of HttpHeadersFactory in io.netty.handler.codec.spdy
Constructors in io.netty.handler.codec.spdy with parameters of type HttpHeadersFactory Constructor Description SpdyHttpCodec(SpdyVersion version, int maxContentLength, HttpHeadersFactory headersFactory, HttpHeadersFactory trailersFactory)
Creates a new instance with the specified decoder options.SpdyHttpDecoder(SpdyVersion version, int maxContentLength, java.util.Map<java.lang.Integer,FullHttpMessage> messageMap, HttpHeadersFactory headersFactory, HttpHeadersFactory trailersFactory)
Creates a new instance with the specified parameters.
-