Package snap.web
Class ZipFileSite
java.lang.Object
snap.web.WebSite
snap.web.ZipFileSite
A WebSite subclass for Zip and Jar files.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doGetOrHead
(WebRequest aReq, WebResponse aResp, boolean isHead) Handles a get or head request.Returns the file for the zip file URL.Methods inherited from class snap.web.WebSite
addFileChangeListener, createFileForPath, deleteFile, deleteSite, doDelete, doPost, doPut, firePropChange, flush, getExists, getFileForFileHeader, getFileForPath, getFileForPathImpl, getHostName, getJavaFileForUrl, getLocalFileForFile, getName, getPassword, getPath, getProp, getResponse, getRootDir, getSandboxDir, getSandboxSiteName, getURL, getUrlAddress, getUrlForPath, getUserName, handleFilePropChange, removeFileChangeListener, resetFile, resetFiles, saveFile, saveLastModTimeForFile, setPassword, setProp, setURL, setUserName, toString
-
Constructor Details
-
ZipFileSite
public ZipFileSite()Constructor.
-
-
Method Details
-
getZipFile
Returns the file for the zip file URL. -
doGetOrHead
Handles a get or head request.- Specified by:
doGetOrHead
in classWebSite
-