@Deprecated public class MapCache extends Object implements BrowserCache
resteasy-client
,
MapCache
BrowserCache.Entry, BrowserCache.Header
Modifier and Type | Field and Description |
---|---|
protected Map<String,Map<String,BrowserCache.Entry>> |
cache
Deprecated.
|
Constructor and Description |
---|
MapCache()
Deprecated.
|
MapCache(Map<String,Map<String,BrowserCache.Entry>> cache)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
protected Map<String,Map<String,BrowserCache.Entry>> |
createCache()
Deprecated.
|
BrowserCache.Entry |
get(String key,
MediaType accept)
Deprecated.
|
BrowserCache.Entry |
getAny(String key)
Deprecated.
|
BrowserCache.Entry |
getEntry(String key,
MediaType accept)
Deprecated.
|
BrowserCache.Entry |
put(CacheEntry cacheEntry)
Deprecated.
|
BrowserCache.Entry |
put(String key,
MediaType mediaType,
MultivaluedMap<String,String> headers,
byte[] cached,
int expires,
String etag,
String lastModified)
Deprecated.
|
BrowserCache.Entry |
remove(String key,
MediaType type)
Deprecated.
|
protected Map<String,Map<String,BrowserCache.Entry>> cache
public MapCache()
public MapCache(Map<String,Map<String,BrowserCache.Entry>> cache)
protected Map<String,Map<String,BrowserCache.Entry>> createCache()
public BrowserCache.Entry get(String key, MediaType accept)
get
in interface BrowserCache
public BrowserCache.Entry getAny(String key)
getAny
in interface BrowserCache
public BrowserCache.Entry getEntry(String key, MediaType accept)
public BrowserCache.Entry remove(String key, MediaType type)
remove
in interface BrowserCache
public void clear()
clear
in interface BrowserCache
public BrowserCache.Entry put(CacheEntry cacheEntry)
public BrowserCache.Entry put(String key, MediaType mediaType, MultivaluedMap<String,String> headers, byte[] cached, int expires, String etag, String lastModified)
put
in interface BrowserCache
Copyright © 2016 JBoss by Red Hat. All rights reserved.