Class LaxDeflateInputStream

  • All Implemented Interfaces:
    java.io.Closeable , java.lang.AutoCloseable

    
    public class LaxDeflateInputStream
    extends DeflateInputStream
                        

    DeflateInputStream subclass that has a flag to accept "edgy streams" that signal end of stream with EOFException which seems to be rather frequent

    Since:

    5.0

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      int read(Array<byte> b, int off, int len)
      int read()
      int read(Array<byte> b)
      • Methods inherited from class org.apache.http.client.entity.DeflateInputStream

        available, close, mark, markSupported, reset, skip
      • Methods inherited from class java.io.InputStream

        nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LaxDeflateInputStream

        LaxDeflateInputStream(InputStream wrapped, boolean relax)
        Parameters:
        wrapped - the InputStream that should be wrapped
        relax - flag to enable relaxed mode