com.sun.grizzly.ssl
Class SSLFileCache

java.lang.Object
  extended by com.sun.grizzly.http.FileCache
      extended by com.sun.grizzly.ssl.SSLFileCache

public class SSLFileCache
extends FileCache

This class implements a file caching mechanism used to cache static resources.

Author:
Jeanfrancois Arcand, Scott Oaks

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.grizzly.http.FileCache
FileCache.FileCacheEntry
 
Field Summary
 
Fields inherited from class com.sun.grizzly.http.FileCache
connectionCloseBB, connectionKaBB, DEFAULT_SERVLET_NAME, nullByteBuffer, OK, SC_NOT_MODIFIED, SC_PRECONDITION_FAILED
 
Constructor Summary
SSLFileCache()
           
 
Method Summary
protected  void sendCache(Request request, FileCache.FileCacheEntry entry)
          Send the cached resource.
 
Methods inherited from class com.sun.grizzly.http.FileCache
add, addHeapSize, addMappedMemorySize, checkIfHeaders, checkIfMatch, checkIfUnmodifiedSince, countContentHit, countContentMiss, countHit, countInfoHit, countInfoMiss, countMiss, decOpenCacheEntries, getAddress, getCache, getCountContentHits, getCountContentMisses, getCountEntries, getCountHits, getCountInfoHits, getCountInfoMisses, getCountMisses, getCountOpenEntries, getFlagEnabled, getHeaderBBSize, getLargeFileCacheEnabled, getMaxCacheEntries, getMaxEntries, getMaxEntrySize, getMaxHeapCacheSize, getMaxLargeCacheSize, getMaxMmapCacheSize, getMaxOpenEntries, getMaxSmallCacheSize, getMinEntrySize, getPort, getSecondsMaxAge, getSizeHeapCache, getSizeMmapCache, incOpenCacheEntries, isEnabled, map, recalcCacheStats, recalcCacheStatsIfMonitoring, sendCache, setAddress, setCacheManager, setHeaderBBSize, setIsEnabled, setIsMonitoringEnabled, setLargeFileCacheEnabled, setMaxCacheEntries, setMaxEntrySize, setMaxLargeCacheSize, setMaxSmallCacheSize, setMinEntrySize, setPort, setSecondsMaxAge, subHeapSize, subMappedMemorySize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLFileCache

public SSLFileCache()
Method Detail

sendCache

protected void sendCache(Request request,
                         FileCache.FileCacheEntry entry)
                  throws IOException
Description copied from class: FileCache
Send the cached resource.

Overrides:
sendCache in class FileCache
Throws:
IOException


Copyright © 2012 Oracle Corporation. All Rights Reserved.