public class WarResource extends AbstractSingleArchiveResource
AbstractArchiveResource.JarInputStreamWrapper
sm
Constructor and Description |
---|
WarResource(AbstractArchiveResourceSet archiveResourceSet,
java.lang.String webAppPath,
java.lang.String baseUrl,
java.util.jar.JarEntry jarEntry) |
Modifier and Type | Method and Description |
---|---|
protected Log |
getLog() |
java.net.URL |
getURL()
Obtain a URL to access the resource or
null if no such URL
is available or if the resource does not exist. |
getJarInputStreamWrapper
canRead, delete, doGetInputStream, exists, getArchiveResourceSet, getBase, getBaseUrl, getCanonicalPath, getCertificates, getCodeBase, getContent, getContentLength, getCreation, getLastModified, getManifest, getName, getResource, isDirectory, isFile, isVirtual
getETag, getInputStream, getLastModifiedHttp, getMimeType, getWebappPath, getWebResourceRoot, setMimeType
public WarResource(AbstractArchiveResourceSet archiveResourceSet, java.lang.String webAppPath, java.lang.String baseUrl, java.util.jar.JarEntry jarEntry)
public java.net.URL getURL()
WebResource
null
if no such URL
is available or if the resource does not exist.getURL
in interface WebResource
getURL
in class AbstractArchiveResource
protected Log getLog()
getLog
in class AbstractResource
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.