程序包 | 说明 |
---|---|
io.netty.handler.codec.http |
Benchmarks for
io.netty.handler.codec.http . |
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultHttpHeadersFactory
A builder of
HttpHeadersFactory instances, that itself implements HttpHeadersFactory . |
限定符和类型 | 字段和说明 |
---|---|
protected HttpHeadersFactory |
HttpObjectDecoder.headersFactory |
protected HttpHeadersFactory |
HttpObjectDecoder.trailersFactory |
限定符和类型 | 方法和说明 |
---|---|
HttpHeadersFactory |
HttpDecoderConfig.getHeadersFactory() |
HttpHeadersFactory |
HttpDecoderConfig.getTrailersFactory() |
限定符和类型 | 方法和说明 |
---|---|
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. |
构造器和说明 |
---|
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.
|
构造器和说明 |
---|
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.
|