| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | CachedResource.
URLStreamHandler to handle a URL for a cached resource, delegating reads to the Cache. |
| Modifier and Type | Field and Description |
|---|---|
| private final Cache | |
| private static final long | |
| private volatile byte[] | |
| private volatile Long | |
| private volatile Boolean | |
| private volatile Boolean | |
| private volatile Boolean | |
| private volatile Boolean | |
| private volatile Long | |
| private volatile String | |
| private static final Log | |
| private volatile long | |
| private final int | |
| private final StandardRoot | |
| private static final StringManager | |
| private final long | |
| private final boolean | |
| private final String | |
| private volatile WebResource | |
| private volatile WebResource[] |
| Access | Constructor and Description |
|---|---|
| public | CachedResource(Cache cache, StandardRoot root, String path, long ttl, int objectMaxSizeBytes, boolean usesClassLoaderResources)
|
| Modifier and Type | Method and Description |
|---|---|
| private static InputStream | |
| 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 | |
| protected long | |
| pack-priv long | |
| public URL | |
| public String | |
| pack-priv WebResource | |
| public WebResourceRoot | |
| pack-priv WebResource[] | |
| 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. |
| pack-priv boolean | |
| protected boolean | |
| protected boolean |