Package org.apache.catalina.webresources
Class AbstractArchiveResource.JarInputStreamWrapper
java.lang.Object
java.io.InputStream
org.apache.catalina.webresources.AbstractArchiveResource.JarInputStreamWrapper
- All Implemented Interfaces:
- Closeable,- AutoCloseable
- Enclosing class:
- AbstractArchiveResource
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.
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.io.InputStreamnullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
- 
Constructor Details- 
JarInputStreamWrapper
 
- 
- 
Method Details- 
read- Specified by:
- readin class- InputStream
- Throws:
- IOException
 
- 
read- Overrides:
- readin class- InputStream
- Throws:
- IOException
 
- 
read- Overrides:
- readin class- InputStream
- Throws:
- IOException
 
- 
skip- Overrides:
- skipin class- InputStream
- Throws:
- IOException
 
- 
available- Overrides:
- availablein class- InputStream
- Throws:
- IOException
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- InputStream
- Throws:
- IOException
 
- 
markpublic void mark(int readlimit) - Overrides:
- markin class- InputStream
 
- 
reset- Overrides:
- resetin class- InputStream
- Throws:
- IOException
 
- 
markSupportedpublic boolean markSupported()- Overrides:
- markSupportedin class- InputStream
 
- 
getCertificates
 
-