Package | Description |
---|---|
org.glassfish.grizzly.http.server.filecache |
Modifier and Type | Method and Description |
---|---|
protected void |
FileCache.addCachingHeaders(FileCacheEntry entry,
HttpResponsePacket response) |
protected boolean |
FileCache.checkIfHeaders(FileCacheEntry entry,
HttpRequestPacket request)
Check if the conditions specified in the optional If headers are
satisfied.
|
protected boolean |
FileCache.checkIfMatch(FileCacheEntry entry,
HttpRequestPacket request)
Check if the if-match condition is satisfied.
|
protected boolean |
FileCache.checkIfUnmodifiedSince(FileCacheEntry entry,
HttpRequestPacket request)
Check if the if-unmodified-since condition is satisfied.
|
protected HttpPacket |
FileCache.makeResponse(FileCacheEntry entry,
HttpRequestPacket request)
Send the cached resource.
|
protected static void |
FileCache.notifyProbesEntryAdded(FileCache fileCache,
FileCacheEntry entry)
Notify registered
FileCacheProbe s about the "entry added" event. |
protected static void |
FileCache.notifyProbesEntryHit(FileCache fileCache,
FileCacheEntry entry)
Notify registered
FileCacheProbe s about the "entry hit event. |
protected static void |
FileCache.notifyProbesEntryRemoved(FileCache fileCache,
FileCacheEntry entry)
Notify registered
FileCacheProbe s about the "entry removed" event. |
void |
FileCacheProbe.onEntryAddedEvent(FileCache fileCache,
FileCacheEntry entry)
Method will be called, when file cache entry gets added.
|
void |
FileCacheProbe.Adapter.onEntryAddedEvent(FileCache fileCache,
FileCacheEntry entry)
Method will be called, when file cache entry gets added.
|
void |
FileCacheProbe.onEntryHitEvent(FileCache fileCache,
FileCacheEntry entry)
Method will be called, when file cache entry gets hit.
|
void |
FileCacheProbe.Adapter.onEntryHitEvent(FileCache fileCache,
FileCacheEntry entry)
Method will be called, when file cache entry gets hit.
|
void |
FileCacheProbe.onEntryRemovedEvent(FileCache fileCache,
FileCacheEntry entry)
Method will be called, when file cache entry gets removed.
|
void |
FileCacheProbe.Adapter.onEntryRemovedEvent(FileCache fileCache,
FileCacheEntry entry)
Method will be called, when file cache entry gets removed.
|
protected void |
FileCache.remove(FileCacheEntry entry) |
Copyright © 2013 Oracle Corporation. All Rights Reserved.