Class ZstandardDecoderConfig
java.lang.Object
org.eclipse.jetty.compression.zstandard.ZstandardDecoderConfig
- All Implemented Interfaces:
DecoderConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
void
setBufferSize
(int size) void
setMagicless
(boolean flag) Enable or disable magicless zstd frames.
-
Constructor Details
-
ZstandardDecoderConfig
public ZstandardDecoderConfig()
-
-
Method Details
-
getBufferSize
public int getBufferSize()- Specified by:
getBufferSize
in interfaceDecoderConfig
-
setBufferSize
public void setBufferSize(int size) - Specified by:
setBufferSize
in interfaceDecoderConfig
-
isMagicless
public boolean isMagicless() -
setMagicless
public void setMagicless(boolean flag) Enable or disable magicless zstd frames.Note: only applies when using
ZstandardCompression.newDecoderSource(Content.Source, DecoderConfig)
orZstandardCompression.newDecoderSource(Content.Source, DecoderConfig)
.> Note: not applied when using
ZstandardCompression.newDecoderInputStream(InputStream, DecoderConfig)
orCompression.newDecoderInputStream(InputStream)
- Parameters:
flag
- true to enable, false is default.- See Also:
-