Package akka.http.scaladsl.coding
Class DeflateDecompressorBase.Inflate
- java.lang.Object
-
- akka.http.scaladsl.coding.DeflateDecompressorBase.Inflate
-
- All Implemented Interfaces:
akka.stream.impl.io.ByteStringParser.ParseStep<akka.util.ByteString>
- Enclosing class:
- DeflateDecompressorBase
public class DeflateDecompressorBase.Inflate extends java.lang.Object implements akka.stream.impl.io.ByteStringParser.ParseStep<akka.util.ByteString>
-
-
Constructor Summary
Constructors Constructor Description Inflate(java.util.zip.Inflater inflater, boolean noPostProcessing, akka.stream.impl.io.ByteStringParser.ParseStep<akka.util.ByteString> afterInflate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
afterBytesRead(byte[] buffer, int offset, int length)
boolean
canWorkWithPartialData()
akka.stream.impl.io.ByteStringParser.ParseResult<akka.util.ByteString>
parse(akka.stream.impl.io.ByteStringParser.ByteReader reader)
-
-
-
Method Detail
-
afterBytesRead
protected void afterBytesRead(byte[] buffer, int offset, int length)
-
canWorkWithPartialData
public boolean canWorkWithPartialData()
- Specified by:
canWorkWithPartialData
in interfaceakka.stream.impl.io.ByteStringParser.ParseStep<akka.util.ByteString>
-
parse
public akka.stream.impl.io.ByteStringParser.ParseResult<akka.util.ByteString> parse(akka.stream.impl.io.ByteStringParser.ByteReader reader)
- Specified by:
parse
in interfaceakka.stream.impl.io.ByteStringParser.ParseStep<akka.util.ByteString>
-
-