| Modifier and Type | Field and Description |
|---|---|
| pack-priv ByteBuffer | |
| private boolean | |
| pack-priv ByteBuffer | |
| pack-priv volatile File | |
| pack-priv long | |
| public ContentType | |
| public String | |
| public String | |
| private final FileCache | |
| public String | |
| private AtomicBoolean | |
| public FileCacheKey | |
| public long | |
| public String | |
| private static final Logger | |
| pack-priv File | |
| pack-priv long | |
| public String | |
| public String | |
| public volatile long | |
| public FileCache. | |
| public String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canServeCompressed(final HttpRequestPacket request)
Returns true if this entry could be served compressed as response to this (passed) specific
|
| protected void | finalize()
Overrides java. Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
| public ByteBuffer | Returns: the entry'sByteBuffer referenceif true the compressed isCompressed)ByteBuffer will be returned, otherwise uncompressed
ByteBuffer will be returned as the result.Returns the entry's |
| public File | |
| public long | Returns: the entry file sizeif true the compressed file size will be returned, otherwise uncompressed file size will
be returned as the result. isCompressed)Returns the entry file size. |
| public void | |
| pack-priv void | setCanBeCompressed(final boolean canBeCompressed)
true means this entry could be served compressed, if client supports compression, or false if this entry should be always served as it is. |
| public String |
| bb | back to summary |
|---|---|
| pack-priv ByteBuffer bb | |
| canBeCompressed | back to summary |
|---|---|
| private boolean canBeCompressed | |
| compressedBb | back to summary |
|---|---|
| pack-priv ByteBuffer compressedBb | |
| compressedFile | back to summary |
|---|---|
| pack-priv volatile File compressedFile | |
| compressedFileSize | back to summary |
|---|---|
| pack-priv long compressedFileSize | |
| contentType | back to summary |
|---|---|
| public ContentType contentType | |
| date | back to summary |
|---|---|
| public String date | |
| Etag | back to summary |
|---|---|
| public String Etag | |
| fileCache | back to summary |
|---|---|
| private final FileCache fileCache | |
| host | back to summary |
|---|---|
| public String host | |
| isCompressed | back to summary |
|---|---|
| private AtomicBoolean isCompressed | |
| key | back to summary |
|---|---|
| public FileCacheKey key | |
| lastModified | back to summary |
|---|---|
| public long lastModified | |
| lastModifiedHeader | back to summary |
|---|---|
| public String lastModifiedHeader | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| plainFile | back to summary |
|---|---|
| pack-priv File plainFile | |
| plainFileSize | back to summary |
|---|---|
| pack-priv long plainFileSize | |
| requestURI | back to summary |
|---|---|
| public String requestURI | |
| server | back to summary |
|---|---|
| public String server | |
| timeoutMillis | back to summary |
|---|---|
| public volatile long timeoutMillis | |
| type | back to summary |
|---|---|
| public FileCache. | |
| xPoweredBy | back to summary |
|---|---|
| public String xPoweredBy | |
| FileCacheEntry | back to summary |
|---|---|
| public FileCacheEntry(FileCache fileCache) | |
| canServeCompressed | back to summary |
|---|---|
| public boolean canServeCompressed(final HttpRequestPacket request) Returns true if this entry could be served compressed as response to this (passed) specific
| |
| finalize | back to summary |
|---|---|
| protected void finalize() throws Throwable Overrides java. Doc from java. Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
A subclass overrides the
When running in a Java virtual machine in which finalization has been
disabled or removed, the garbage collector will never call
The general contract of
The
The Java programming language does not guarantee which thread will
invoke the
After the
The
Any exception thrown by the | |
| getByteBuffer | back to summary |
|---|---|
| public ByteBuffer getByteBuffer(final boolean isCompressed) Returns the entry's
| |
| getFile | back to summary |
|---|---|
| public File getFile(final boolean isCompressed) Returns the entry's | |
| getFileSize | back to summary |
|---|---|
| public long getFileSize(final boolean isCompressed) Returns the entry file size.
| |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| setCanBeCompressed | back to summary |
|---|---|
| pack-priv void setCanBeCompressed(final boolean canBeCompressed) true means this entry could be served compressed, if client supports compression, or false if this entry should be always served as it is. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |