Class JarResource
java.lang.Object
org.apache.catalina.webresources.AbstractResource
org.apache.catalina.webresources.AbstractArchiveResource
org.apache.catalina.webresources.AbstractSingleArchiveResource
org.apache.catalina.webresources.JarResource
- All Implemented Interfaces:
WebResource
Represents a single resource (file or directory) that is located within a JAR.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractArchiveResource
AbstractArchiveResource.JarInputStreamWrapper -
Field Summary
Fields inherited from class AbstractResource
sm -
Constructor Summary
ConstructorsConstructorDescriptionJarResource(AbstractArchiveResourceSet archiveResourceSet, String webAppPath, String baseUrl, JarEntry jarEntry) Constructs a new JarResource. -
Method Summary
Methods inherited from class AbstractSingleArchiveResource
getJarInputStreamWrapperMethods inherited from class AbstractArchiveResource
canRead, delete, doGetInputStream, exists, getArchiveResourceSet, getBase, getBaseUrl, getCanonicalPath, getCertificates, getCodeBase, getContent, getContentLength, getCreation, getLastModified, getManifest, getName, getResource, getURL, isDirectory, isFile, isVirtualMethods inherited from class AbstractResource
getETag, getInputStream, getLastModifiedHttp, getMimeType, getStrongETag, getWebappPath, getWebResourceRoot, setMimeType
-
Constructor Details
-
JarResource
public JarResource(AbstractArchiveResourceSet archiveResourceSet, String webAppPath, String baseUrl, JarEntry jarEntry) Constructs a new JarResource.- Parameters:
archiveResourceSet- the archive resource setwebAppPath- the web application pathbaseUrl- the base URLjarEntry- the JAR entry
-
-
Method Details
-
getLog
Description copied from class:AbstractResourceGets the logger for this resource.- Specified by:
getLogin classAbstractResource- Returns:
- the logger
-