public interface StreamDecoderFactory
StreamDecoder for a given Content-Encoding header value.
A new decoder is valid for the lifetime of an HttpResponse.| 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. |
String encodingHeaderValue()
StreamDecoder newDecoder(io.netty.buffer.ByteBufAllocator alloc)
StreamDecoder to use to decode an HttpResponse.Copyright © 2020 LeanCloud. All rights reserved.