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

java.lang.Object
  extended by org.glassfish.grizzly.http.server.filecache.FileCacheKey
Direct Known Subclasses:
LazyFileCacheKey

public class FileCacheKey
extends java.lang.Object

The entry key in the file cache map.

Author:
Alexey Stashok

Field Summary
protected  java.lang.String host
           
protected  java.lang.String uri
           
 
Constructor Summary
protected FileCacheKey()
           
  FileCacheKey(java.lang.String host, java.lang.String uri)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
protected  java.lang.String getHost()
           
protected  java.lang.String getUri()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

protected java.lang.String host

uri

protected java.lang.String uri
Constructor Detail

FileCacheKey

protected FileCacheKey()

FileCacheKey

public FileCacheKey(java.lang.String host,
                    java.lang.String uri)
Method Detail

getHost

protected java.lang.String getHost()

getUri

protected java.lang.String getUri()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2011 Oracle Corpration. All Rights Reserved.