Module methanol
Class DeflateBodyDecoderFactory
java.lang.Object
com.github.mizosoft.methanol.internal.decoder.DeflateBodyDecoderFactory
- All Implemented Interfaces:
BodyDecoder.Factory
BodyDecoder.Factory for "deflate".-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> BodyDecoder<T> create(HttpResponse.BodySubscriber<T> downstream) Creates aBodyDecoderwith the given downstream.<T> BodyDecoder<T> create(HttpResponse.BodySubscriber<T> downstream, Executor executor) Creates aBodyDecoderwith the given downstream and executor.encoding()Returns the encoding used byBodyDecoderscreated by this factory.
-
Constructor Details
-
DeflateBodyDecoderFactory
public DeflateBodyDecoderFactory()Creates a newDeflateBodyDecoderFactory. Meant to be called byServiceLoader.
-
-
Method Details
-
encoding
Description copied from interface:BodyDecoder.FactoryReturns the encoding used byBodyDecoderscreated by this factory. -
create
Description copied from interface:BodyDecoder.FactoryCreates aBodyDecoderwith the given downstream.- Specified by:
createin interfaceBodyDecoder.Factory
-
create
Description copied from interface:BodyDecoder.FactoryCreates aBodyDecoderwith the given downstream and executor.- Specified by:
createin interfaceBodyDecoder.Factory
-