Interface StreamDecoderFactory
- All Known Subinterfaces:
StreamDecoderFactory
@Deprecated public interface StreamDecoderFactory
Deprecated.
Use
StreamDecoderFactory
instead.An interface that constructs a new
StreamDecoder
for a given Content-Encoding header value.
A new decoder is valid for the lifetime of an HttpResponse
.-
Method Summary
Modifier and Type Method Description static StreamDecoderFactory
deflate()
Deprecated.Returns theStreamDecoderFactory
for"deflate"
content encoding.String
encodingHeaderValue()
Deprecated.Returns the value of the Content-Encoding header which this factory applies to.static StreamDecoderFactory
gzip()
Deprecated.Returns theStreamDecoderFactory
for"gzip"
content encoding.StreamDecoder
newDecoder(ByteBufAllocator alloc)
Deprecated.Construct a newStreamDecoder
to use to decode anHttpResponse
.
-
Method Details
-
deflate
Deprecated.Returns theStreamDecoderFactory
for"deflate"
content encoding. -
gzip
Deprecated.Returns theStreamDecoderFactory
for"gzip"
content encoding. -
encodingHeaderValue
String encodingHeaderValue()Deprecated.Returns the value of the Content-Encoding header which this factory applies to. -
newDecoder
Deprecated.Construct a newStreamDecoder
to use to decode anHttpResponse
.
-