| java.lang.Object net.homeip.donaldm.httpdbase4j.Request net.homeip.donaldm.httpdbase4j.ArchiveRequest
Field Summary | |
protected File | m_homeDir The base directory within the archive containing the web content. | protected File | m_requestFile The full path within the archive of the resource. |
Constructor Summary | |
public | ArchiveRequest(Httpd httpd, HttpExchange ex, java.io.File archive, String homeArchiveDir) Constructs a ArchiveRequest. | public | ArchiveRequest(Httpd httpd, HttpExchange ex, File homeDir) Constructs a ArchiveRequest.
Parameters: httpd - The Httpd instance within which the request occurred. See Also: net.homeip.donaldm.httpdbase4j.Httpd Parameters: ex - The HttpExchange instance for this request. See Also: com.sun.net.httpserver.HttpExchange Parameters: homeDir - The base directory within the compressed file containingthe web resources. | public | ArchiveRequest(Httpd httpd, HttpExchange ex, File homeDir, String fileName) Constructs a ArchiveRequest.
Parameters: httpd - The Httpd instance within which the request occurred. See Also: net.homeip.donaldm.httpdbase4j.Httpd Parameters: ex - The HttpExchange instance for this request. See Also: com.sun.net.httpserver.HttpExchange Parameters: homeDir - The base directory within the compressed file containingthe web resources. | public | ArchiveRequest(ArchiveRequest request, String fileName) Copy constructs a ArchiveRequest with a new file.
If fileName is not null then assumes that request is a directory. |
m_homeDir | protected File m_homeDir(Code) | | The base directory within the archive containing the web content.
|
m_requestFile | protected File m_requestFile(Code) | | The full path within the archive of the resource.
|
exists | public boolean exists()(Code) | | |
getContentLength | public long getContentLength()(Code) | | |
getSize | public long getSize()(Code) | | |
isDirectory | public boolean isDirectory()(Code) | | |
isReadable | public boolean isReadable()(Code) | | |
|
|