| Modifier and Type | Field and Description |
|---|---|
| private final File | |
| private final WebResourceRoot | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public boolean | |
| public String | |
| public Certificate[] | |
| public URL | |
| public byte[] | |
| public long | |
| public long | |
| public String | getETag()
Implements org. Return the strong ETag if available (currently not supported) else return the weak ETag calculated from the content length and last modified. |
| public InputStream | getInputStream()
Implements org. Obtain an InputStream based on the contents of this resource. |
| public long | |
| public String | |
| public Manifest | |
| public String | |
| public String | |
| public URL | |
| public String | |
| public WebResourceRoot | |
| public boolean | |
| public boolean | |
| public boolean | isVirtual()
Implements org. Indicates if this resource is required for applications to correctly scan
the file structure but that does not exist in either the main or any
additional |
| public void | setMimeType(String
The mime type that will be associated with the resource mimeType)Implements org. Set the MIME type for this Resource. |
| file | back to summary |
|---|---|
| private final File file | |
| root | back to summary |
|---|---|
| private final WebResourceRoot root | |
| webAppPath | back to summary |
|---|---|
| private final String webAppPath | |
| EmptyResource | back to summary |
|---|---|
| public EmptyResource(WebResourceRoot root, String webAppPath) | |
| EmptyResource | back to summary |
|---|---|
| public EmptyResource(WebResourceRoot root, String webAppPath, File file) | |
| canRead | back to summary |
|---|---|
| public boolean canRead() Implements org.
| |
| delete | back to summary |
|---|---|
| public boolean delete() Implements org.
| |
| exists | back to summary |
|---|---|
| public boolean exists() Implements org.
| |
| getCanonicalPath | back to summary |
|---|---|
| public String getCanonicalPath() Implements org.
| |
| getCertificates | back to summary |
|---|---|
| public Certificate[] getCertificates() Implements org.
| |
| getCodeBase | back to summary |
|---|---|
| public URL getCodeBase() Implements org.
| |
| getContent | back to summary |
|---|---|
| public byte[] getContent() Implements org.
| |
| getContentLength | back to summary |
|---|---|
| public long getContentLength() Implements org.
| |
| getCreation | back to summary |
|---|---|
| public long getCreation() Implements org.
| |
| getETag | back to summary |
|---|---|
| public String getETag() Implements org. Doc from org. Return the strong ETag if available (currently not supported) else return the weak ETag calculated from the content length and last modified. | |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() Implements org. Doc from org. Obtain an InputStream based on the contents of this resource.
| |
| getLastModified | back to summary |
|---|---|
| public long getLastModified() Implements org.
| |
| getLastModifiedHttp | back to summary |
|---|---|
| public String getLastModifiedHttp() Implements org.
| |
| getManifest | back to summary |
|---|---|
| public Manifest getManifest() Implements org.
| |
| getMimeType | back to summary |
|---|---|
| public String getMimeType() Implements org.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org.
| |
| getURL | back to summary |
|---|---|
| public URL getURL() Implements org.
| |
| getWebappPath | back to summary |
|---|---|
| public String getWebappPath() Implements org.
| |
| getWebResourceRoot | back to summary |
|---|---|
| public WebResourceRoot getWebResourceRoot() Implements org.
| |
| isDirectory | back to summary |
|---|---|
| public boolean isDirectory() Implements org.
| |
| isFile | back to summary |
|---|---|
| public boolean isFile() Implements org.
| |
| isVirtual | back to summary |
|---|---|
| public boolean isVirtual() Implements org. Doc from org. Indicates if this resource is required for applications to correctly scan
the file structure but that does not exist in either the main or any
additional
| |
| setMimeType | back to summary |
|---|---|
| public void setMimeType(String mimeType) Implements org. Doc from org. Set the MIME type for this Resource. | |