Class LazyDecompressingInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.apache.hc.client5.http.entity.LazyDecompressingInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
@Deprecated class LazyDecompressingInputStream extends java.io.FilterInputStreamDeprecated.Superseded byDecompressingEntity.Lazy initializes from anInputStreamwrapper.
-
-
Field Summary
Fields Modifier and Type Field Description private InputStreamFactoryinputStreamFactoryDeprecated.private java.io.InputStreamwrapperStreamDeprecated.
-
Constructor Summary
Constructors Constructor Description LazyDecompressingInputStream(java.io.InputStream wrappedStream, InputStreamFactory inputStreamFactory)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intavailable()Deprecated.voidclose()Deprecated.private java.io.InputStreaminitWrapper()Deprecated.voidmark(int readlimit)Deprecated.booleanmarkSupported()Deprecated.intread()Deprecated.intread(byte[] b)Deprecated.intread(byte[] b, int off, int len)Deprecated.voidreset()Deprecated.longskip(long n)Deprecated.
-
-
-
Field Detail
-
inputStreamFactory
private final InputStreamFactory inputStreamFactory
Deprecated.
-
wrapperStream
private java.io.InputStream wrapperStream
Deprecated.
-
-
Constructor Detail
-
LazyDecompressingInputStream
public LazyDecompressingInputStream(java.io.InputStream wrappedStream, InputStreamFactory inputStreamFactory)Deprecated.
-
-
Method Detail
-
initWrapper
private java.io.InputStream initWrapper() throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOExceptionDeprecated.- Overrides:
readin classjava.io.FilterInputStream- Throws:
java.io.IOException
-
read
public int read(byte[] b) throws java.io.IOExceptionDeprecated.- Overrides:
readin classjava.io.FilterInputStream- Throws:
java.io.IOException
-
read
public int read(byte[] b, int off, int len) throws java.io.IOExceptionDeprecated.- Overrides:
readin classjava.io.FilterInputStream- Throws:
java.io.IOException
-
skip
public long skip(long n) throws java.io.IOExceptionDeprecated.- Overrides:
skipin classjava.io.FilterInputStream- Throws:
java.io.IOException
-
markSupported
public boolean markSupported()
Deprecated.- Overrides:
markSupportedin classjava.io.FilterInputStream
-
available
public int available() throws java.io.IOExceptionDeprecated.- Overrides:
availablein classjava.io.FilterInputStream- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOExceptionDeprecated.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.FilterInputStream- Throws:
java.io.IOException
-
mark
public void mark(int readlimit)
Deprecated.- Overrides:
markin classjava.io.FilterInputStream
-
reset
public void reset() throws java.io.IOExceptionDeprecated.- Overrides:
resetin classjava.io.FilterInputStream- Throws:
java.io.IOException
-
-