Class HTTPRedirectDeflateDecoder.NoWrapAutoEndInflaterInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- java.util.zip.InflaterInputStream
-
- org.opensaml.saml.saml2.binding.decoding.impl.HTTPRedirectDeflateDecoder.NoWrapAutoEndInflaterInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- HTTPRedirectDeflateDecoder
private class HTTPRedirectDeflateDecoder.NoWrapAutoEndInflaterInputStream extends InflaterInputStream
A subclass ofInflaterInputStreamwhich defaults in a no-wrapInflaterinstance and closes it when the stream is closed.
-
-
Field Summary
-
Fields inherited from class java.util.zip.InflaterInputStream
buf, inf, len
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Constructor Description NoWrapAutoEndInflaterInputStream(InputStream is)Creates a new input stream with a default no-wrap decompressor and buffer size.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()-
Methods inherited from class java.util.zip.InflaterInputStream
available, fill, mark, markSupported, read, read, reset, skip
-
Methods inherited from class java.io.FilterInputStream
read
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Constructor Detail
-
NoWrapAutoEndInflaterInputStream
public NoWrapAutoEndInflaterInputStream(InputStream is)
Creates a new input stream with a default no-wrap decompressor and buffer size.- Parameters:
is- the input stream
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInflaterInputStream- Throws:
IOException
-
-