Top Description Fields Constructors Methods
org.apache.catalina.webresources

public Class JarWarResource

extends AbstractArchiveResource
Class Inheritance
Imports
java.io.IOException, .InputStream, java.util.jar.JarEntry, .JarFile, .JarInputStream, org.apache.juli.logging.Log, .LogFactory, org.apache.tomcat.util.buf.UriUtil

Represents a single resource (file or directory) that is located within a JAR that in turn is located in a WAR file.

Field Summary

Modifier and TypeField and Description
private final String
private static final Log

Constructor Summary

AccessConstructor and Description
public
JarWarResource(AbstractArchiveResourceSet archiveResourceSet, String webAppPath, String baseUrl, JarEntry jarEntry, String archivePath)

Method Summary

Modifier and TypeMethod and Description
protected AbstractArchiveResource.JarInputStreamWrapper
protected Log
Inherited from org.apache.catalina.webresources.AbstractArchiveResource:
canReaddeletedoGetInputStreamexistsgetArchiveResourceSetgetBasegetBaseUrlgetCanonicalPathgetCertificatesgetCodeBasegetContentgetContentLengthgetCreationgetLastModifiedgetManifestgetNamegetResourcegetURLisDirectoryisFileisVirtual

Field Detail

archivePathback to summary
private final String archivePath
logback to summary
private static final Log log

Constructor Detail

JarWarResourceback to summary
public JarWarResource(AbstractArchiveResourceSet archiveResourceSet, String webAppPath, String baseUrl, JarEntry jarEntry, String archivePath)

Method Detail

getJarInputStreamWrapperback to summary
protected AbstractArchiveResource.JarInputStreamWrapper getJarInputStreamWrapper()

Implements abstract org.apache.catalina.webresources.AbstractArchiveResource.getJarInputStreamWrapper.

Annotations
@Override
getLogback to summary
protected Log getLog()

Implements abstract org.apache.catalina.webresources.AbstractResource.getLog.

Annotations
@Override