org.codehaus.httpcache4j.cache
Class Key

java.lang.Object
  extended by org.codehaus.httpcache4j.cache.Key
All Implemented Interfaces:
Serializable, ToJSON

public class Key
extends Object
implements Serializable, ToJSON

Version:
$Revision: #5 $ $Date: 2008/09/15 $
Author:
Erlend Hamnaberg
See Also:
Serialized Form

Method Summary
static Key create(HTTPRequest request, HTTPResponse response)
           
static Key create(URI uri, Vary vary)
           
 boolean equals(Object o)
           
 URI getURI()
           
 Vary getVary()
           
 int hashCode()
           
 String toJSON()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static Key create(URI uri,
                         Vary vary)

create

public static Key create(HTTPRequest request,
                         HTTPResponse response)

getURI

public URI getURI()

getVary

public Vary getVary()

toString

public String toString()
Overrides:
toString in class Object

toJSON

public String toJSON()
Specified by:
toJSON in interface ToJSON

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2008-2011. All Rights Reserved.