| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private final WebResourceRoot | |
| protected static final StringManager | |
| private volatile String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract InputStream | |
| public final 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 final InputStream | getInputStream()
Implements org. Obtain an InputStream based on the contents of this resource. |
| public final String | |
| protected abstract Log | |
| public final String | |
| public final String | |
| public final WebResourceRoot | |
| public final void | setMimeType(String
The mime type that will be associated with the resource mimeType)Implements org. Set the MIME type for this Resource. |
| mimeType | back to summary |
|---|---|
| private String mimeType | |
| root | back to summary |
|---|---|
| private final WebResourceRoot root | |
| sm | back to summary |
|---|---|
| protected static final StringManager sm | |
| weakETag | back to summary |
|---|---|
| private volatile String weakETag | |
| webAppPath | back to summary |
|---|---|
| private final String webAppPath | |
| AbstractResource | back to summary |
|---|---|
| protected AbstractResource(WebResourceRoot root, String webAppPath) | |
| doGetInputStream | back to summary |
|---|---|
| protected abstract InputStream doGetInputStream() | |
| getETag | back to summary |
|---|---|
| public final 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 final InputStream getInputStream() Implements org. Doc from org. Obtain an InputStream based on the contents of this resource.
| |
| getLastModifiedHttp | back to summary |
|---|---|
| public final String getLastModifiedHttp() Implements org.
| |
| getLog | back to summary |
|---|---|
| protected abstract Log getLog() | |
| getMimeType | back to summary |
|---|---|
| public final String getMimeType() Implements org.
| |
| getWebappPath | back to summary |
|---|---|
| public final String getWebappPath() Implements org.
| |
| getWebResourceRoot | back to summary |
|---|---|
| public final WebResourceRoot getWebResourceRoot() Implements org.
| |
| setMimeType | back to summary |
|---|---|
| public final void setMimeType(String mimeType) Implements org. Doc from org. Set the MIME type for this Resource. | |