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.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttpHeadersFactory
A builder of
HttpHeadersFactory instances, that itself implements HttpHeadersFactory . |
Modifier and Type | Field and Description |
---|---|
protected HttpHeadersFactory |
HttpObjectDecoder.headersFactory |
protected HttpHeadersFactory |
HttpObjectDecoder.trailersFactory |
Modifier and Type | Method and Description |
---|---|
HttpHeadersFactory |
HttpDecoderConfig.getHeadersFactory() |
HttpHeadersFactory |
HttpDecoderConfig.getTrailersFactory() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
HttpObjectDecoder.isValidating(HttpHeadersFactory headersFactory) |
HttpDecoderConfig |
HttpDecoderConfig.setHeadersFactory(HttpHeadersFactory headersFactory)
Set the
HttpHeadersFactory to use when creating new HTTP headers objects. |
HttpDecoderConfig |
HttpDecoderConfig.setTrailersFactory(HttpHeadersFactory trailersFactory)
Set the
HttpHeadersFactory used to create HTTP trailers. |
Constructor and Description |
---|
DefaultFullHttpRequest(HttpVersion httpVersion,
HttpMethod method,
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,
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.
|
Constructor and Description |
---|
SpdyHttpCodec(SpdyVersion version,
int maxContentLength,
HttpHeadersFactory headersFactory,
HttpHeadersFactory trailersFactory)
Creates a new instance with the specified decoder options.
|
SpdyHttpDecoder(SpdyVersion version,
int maxContentLength,
Map<Integer,FullHttpMessage> messageMap,
HttpHeadersFactory headersFactory,
HttpHeadersFactory trailersFactory)
Creates a new instance with the specified parameters.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.