@Deprecated public class LightweightBrowserCache extends Object implements BrowserCache
resteasy-client
,
LightweightBrowserCache
BrowserCache.Entry, BrowserCache.Header
Modifier and Type | Field and Description |
---|---|
protected AtomicLong |
bytes
Deprecated.
|
protected BrowserCache |
internalCache
Deprecated.
|
protected long |
maxBytes
Deprecated.
|
Constructor and Description |
---|
LightweightBrowserCache()
Deprecated.
|
LightweightBrowserCache(BrowserCache cache)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
BrowserCache.Entry |
get(String key,
MediaType accept)
Deprecated.
|
BrowserCache.Entry |
getAny(String key)
Deprecated.
|
long |
getByteCount()
Deprecated.
|
BrowserCache |
getInternalCache()
Deprecated.
|
long |
getMaxBytes()
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.
|
void |
setInternalCache(BrowserCache internalCache)
Deprecated.
|
void |
setMaxBytes(long maxBytes)
Deprecated.
|
protected long maxBytes
protected BrowserCache internalCache
protected AtomicLong bytes
public LightweightBrowserCache()
public LightweightBrowserCache(BrowserCache cache)
public BrowserCache getInternalCache()
public void setInternalCache(BrowserCache internalCache)
public long getMaxBytes()
public void setMaxBytes(long maxBytes)
public BrowserCache.Entry getAny(String key)
getAny
in interface BrowserCache
public BrowserCache.Entry remove(String key, MediaType type)
remove
in interface BrowserCache
public long getByteCount()
public BrowserCache.Entry get(String key, MediaType accept)
get
in interface BrowserCache
public BrowserCache.Entry put(String key, MediaType mediaType, MultivaluedMap<String,String> headers, byte[] cached, int expires, String etag, String lastModified)
put
in interface BrowserCache
public void clear()
clear
in interface BrowserCache
Copyright © 2016 JBoss by Red Hat. All rights reserved.