public class DeflateStreamDecoderFactory extends Object implements StreamDecoderFactory
StreamDecoderFactory which supports the 'deflate' encoding.| Constructor and Description |
|---|
DeflateStreamDecoderFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
encodingHeaderValue()
Returns the value of the Content-Encoding header which this factory applies to.
|
StreamDecoder |
newDecoder(io.netty.buffer.ByteBufAllocator alloc)
Construct a new
StreamDecoder to use to decode an HttpResponse. |
public String encodingHeaderValue()
StreamDecoderFactoryencodingHeaderValue in interface StreamDecoderFactorypublic StreamDecoder newDecoder(io.netty.buffer.ByteBufAllocator alloc)
StreamDecoderFactoryStreamDecoder to use to decode an HttpResponse.newDecoder in interface StreamDecoderFactoryCopyright © 2020 LeanCloud. All rights reserved.