Package | Description |
---|---|
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.rtsp |
An RTSP
extension based on the HTTP codec.
|
Modifier and Type | Method and Description |
---|---|
HttpDecoderConfig |
HttpDecoderConfig.clone() |
HttpDecoderConfig |
HttpDecoderConfig.setAllowDuplicateContentLengths(boolean allowDuplicateContentLengths)
Set whether more than one
Content-Length header is allowed. |
HttpDecoderConfig |
HttpDecoderConfig.setAllowPartialChunks(boolean allowPartialChunks)
Set whether chunks can be split into multiple messages, if their chunk size exceeds the size of the input buffer.
|
HttpDecoderConfig |
HttpDecoderConfig.setChunkedSupported(boolean chunkedSupported)
Set whether
Transfer-Encoding: Chunked should be supported. |
HttpDecoderConfig |
HttpDecoderConfig.setHeadersFactory(HttpHeadersFactory headersFactory)
Set the
HttpHeadersFactory to use when creating new HTTP headers objects. |
HttpDecoderConfig |
HttpDecoderConfig.setInitialBufferSize(int initialBufferSize)
Set the initial size of the temporary buffer used when parsing the lines of the HTTP headers.
|
HttpDecoderConfig |
HttpDecoderConfig.setMaxChunkSize(int maxChunkSize)
Set the maximum chunk size.
|
HttpDecoderConfig |
HttpDecoderConfig.setMaxHeaderSize(int maxHeaderSize)
Set the maximum line length of header lines.
|
HttpDecoderConfig |
HttpDecoderConfig.setMaxInitialLineLength(int maxInitialLineLength)
Set the maximum length of the first line of the HTTP header.
|
HttpDecoderConfig |
HttpDecoderConfig.setTrailersFactory(HttpHeadersFactory trailersFactory)
Set the
HttpHeadersFactory used to create HTTP trailers. |
HttpDecoderConfig |
HttpDecoderConfig.setValidateHeaders(boolean validateHeaders)
Set whether header validation should be enabled or not.
|
Constructor and Description |
---|
HttpClientCodec(HttpDecoderConfig config,
boolean parseHttpAfterConnectRequest,
boolean failOnMissingResponse)
Creates a new instance with the specified decoder options.
|
HttpObjectDecoder(HttpDecoderConfig config)
Creates a new instance with the specified configuration.
|
HttpRequestDecoder(HttpDecoderConfig config)
Creates a new instance with the specified configuration.
|
HttpResponseDecoder(HttpDecoderConfig config)
Creates a new instance with the specified configuration.
|
HttpServerCodec(HttpDecoderConfig config)
Creates a new instance with the specified decoder configuration.
|
Constructor and Description |
---|
RtspDecoder(HttpDecoderConfig config)
Creates a new instance with the specified configuration.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.