public class SingleReplayCacheEntryWrapper extends Object implements CachedEntry
Constructor and Description |
---|
SingleReplayCacheEntryWrapper(CachedEntry delegate) |
Modifier and Type | Method and Description |
---|---|
long |
getLastModificationTime()
Produce last modification date of the cache entry.
|
String |
getOriginalURL()
Entry might be required to produce url used to create it in the first place.
|
int |
getTimeToLiveInSeconds() |
void |
replay(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain) |
public SingleReplayCacheEntryWrapper(CachedEntry delegate)
public int getTimeToLiveInSeconds()
getTimeToLiveInSeconds
in interface CachedEntry
public void replay(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
replay
in interface CachedEntry
chain
- a cache entry might want to delegate to the filter chain, see DelegatingBlobCachedEntry.replay(HttpServletRequest, HttpServletResponse, FilterChain)
IOException
javax.servlet.ServletException
public String getOriginalURL()
CachedEntry
getOriginalURL
in interface CachedEntry
public long getLastModificationTime()
CachedEntry
getLastModificationTime
in interface CachedEntry
Copyright © 2020 Magnolia International Ltd.. All rights reserved.