Interface StreamDecoderFactory
- All Known Subinterfaces:
StreamDecoderFactory
Deprecated.
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 TypeMethodDescriptionstatic StreamDecoderFactory
deflate()
Deprecated.Returns theStreamDecoderFactory
for"deflate"
content encoding.Deprecated.Returns the value of the Content-Encoding header which this factory applies to.static StreamDecoderFactory
gzip()
Deprecated.Returns theStreamDecoderFactory
for"gzip"
content encoding.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
.
-
StreamDecoderFactory
instead.