Interface ServerCache
-
- All Known Implementing Classes:
InfinispanCache
public interface ServerCache
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ServerCache.Entry
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerCache.Entry
add(String uri, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.CacheControl cc, javax.ws.rs.core.MultivaluedMap<String,Object> headers, byte[] entity, String etag, javax.ws.rs.core.MultivaluedMap<String,String> varyHeaders)
void
clear()
ServerCache.Entry
get(String uri, javax.ws.rs.core.MediaType accept, javax.ws.rs.core.MultivaluedMap<String,String> headers)
static boolean
mayVary(ServerCache.Entry cached, javax.ws.rs.core.MultivaluedMap<String,String> current)
void
remove(String uri)
-
-
-
Method Detail
-
mayVary
static boolean mayVary(ServerCache.Entry cached, javax.ws.rs.core.MultivaluedMap<String,String> current)
-
add
ServerCache.Entry add(String uri, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.CacheControl cc, javax.ws.rs.core.MultivaluedMap<String,Object> headers, byte[] entity, String etag, javax.ws.rs.core.MultivaluedMap<String,String> varyHeaders)
-
get
ServerCache.Entry get(String uri, javax.ws.rs.core.MediaType accept, javax.ws.rs.core.MultivaluedMap<String,String> headers)
-
remove
void remove(String uri)
-
clear
void clear()
-
-