| 程序包 | 说明 | 
|---|---|
| io.netty.handler.codec.http | 
 Benchmarks for  
io.netty.handler.codec.http. | 
| io.netty.handler.codec.rtsp | 
 An RTSP
 extension based on the HTTP codec. 
 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
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. 
 | 
| 构造器和说明 | 
|---|
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. 
 | 
| 构造器和说明 | 
|---|
RtspDecoder(HttpDecoderConfig config)
Creates a new instance with the specified configuration. 
 |