Class AbstractArchiveResource.JarInputStreamWrapper

java.lang.Object
java.io.InputStream
org.apache.catalina.webresources.AbstractArchiveResource.JarInputStreamWrapper
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
AbstractArchiveResource

protected class AbstractArchiveResource.JarInputStreamWrapper extends InputStream
This wrapper assumes that the InputStream was created from a JarFile obtained from a call to getArchiveResourceSet().openJarFile(). If this is not the case then the usage counting in AbstractArchiveResourceSet will break and the JarFile may be unexpectedly closed.