Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface akka.stream.impl.io.ByteStringParser.ParseStep

        onTruncation
    • Constructor Detail

      • Inflate

        public Inflate​(java.util.zip.Inflater inflater,
                       boolean noPostProcessing,
                       akka.stream.impl.io.ByteStringParser.ParseStep<akka.util.ByteString> afterInflate)
    • Method Detail

      • afterBytesRead

        protected void afterBytesRead​(byte[] buffer,
                                      int offset,
                                      int length)
      • canWorkWithPartialData

        public boolean canWorkWithPartialData()
        Specified by:
        canWorkWithPartialData in interface akka.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 interface akka.stream.impl.io.ByteStringParser.ParseStep<akka.util.ByteString>