org.jboss.resteasy.plugins.cache.server
Class SimpleServerCache

java.lang.Object
  extended by org.jboss.resteasy.plugins.cache.server.SimpleServerCache
All Implemented Interfaces:
ServerCache

Deprecated.

@Deprecated
public class SimpleServerCache
extends java.lang.Object
implements ServerCache

An HTTP cache that behaves somewhat the same way as a proxy (like Squid)

Version:
$Revision: 1 $
Author:
Bill Burke

Nested Class Summary
static class SimpleServerCache.CacheEntry
          Deprecated.  
 
Nested classes/interfaces inherited from interface org.jboss.resteasy.plugins.cache.server.ServerCache
ServerCache.Entry
 
Constructor Summary
SimpleServerCache()
          Deprecated.  
 
Method Summary
 ServerCache.Entry add(java.lang.String uri, MediaType mediaType, CacheControl cc, MultivaluedMap<java.lang.String,java.lang.Object> headers, byte[] entity, java.lang.String etag)
          Deprecated.  
 void clear()
          Deprecated.  
 ServerCache.Entry get(java.lang.String uri, MediaType accept)
          Deprecated.  
 void remove(java.lang.String key)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleServerCache

public SimpleServerCache()
Deprecated. 
Method Detail

get

public ServerCache.Entry get(java.lang.String uri,
                             MediaType accept)
Deprecated. 
Specified by:
get in interface ServerCache

add

public ServerCache.Entry add(java.lang.String uri,
                             MediaType mediaType,
                             CacheControl cc,
                             MultivaluedMap<java.lang.String,java.lang.Object> headers,
                             byte[] entity,
                             java.lang.String etag)
Deprecated. 
Specified by:
add in interface ServerCache

remove

public void remove(java.lang.String key)
Deprecated. 
Specified by:
remove in interface ServerCache

clear

public void clear()
Deprecated. 
Specified by:
clear in interface ServerCache


Copyright © 2009. All Rights Reserved.