org.glassfish.grizzly.http.server.filecache
Class FileCacheEntry

java.lang.Object
  extended by org.glassfish.grizzly.http.server.filecache.FileCacheEntry
All Implemented Interfaces:
Runnable

public final class FileCacheEntry
extends Object
implements Runnable

The entry value in the file cache map.

Author:
Alexey Stashok

Field Summary
 ByteBuffer bb
           
 long contentLength
           
 String contentType
           
 String date
           
 String Etag
           
 long fileSize
           
 String host
           
 FileCacheKey key
           
 long lastModified
           
 String lastModifiedHeader
           
 String requestURI
           
 long timeoutMillis
           
 FileCache.CacheType type
           
 String xPoweredBy
           
 
Constructor Summary
FileCacheEntry(FileCache fileCache)
           
 
Method Summary
 void run()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

public FileCacheKey key

host

public String host

requestURI

public String requestURI

lastModified

public long lastModified

contentType

public String contentType

bb

public ByteBuffer bb

xPoweredBy

public String xPoweredBy

type

public FileCache.CacheType type

date

public String date

Etag

public String Etag

lastModifiedHeader

public String lastModifiedHeader

contentLength

public long contentLength

fileSize

public long fileSize

timeoutMillis

public volatile long timeoutMillis
Constructor Detail

FileCacheEntry

public FileCacheEntry(FileCache fileCache)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Oracle Corporation. All Rights Reserved.