deprecate PushCacheFilter
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
909e99ec37
commit
a7a9ccce35
|
@ -66,7 +66,9 @@ import org.slf4j.LoggerFactory;
|
|||
* cache.</p>
|
||||
* <p>If the init param useQueryInKey is set, then the query string is used as
|
||||
* as part of the key to identify a resource</p>
|
||||
* @deprecated no replacement for this deprecated http feature
|
||||
*/
|
||||
@Deprecated
|
||||
@ManagedObject("Push cache based on the HTTP 'Referer' header")
|
||||
public class PushCacheFilter implements Filter
|
||||
{
|
||||
|
@ -80,6 +82,11 @@ public class PushCacheFilter implements Filter
|
|||
private long _renew = NanoTime.now();
|
||||
private boolean _useQueryInKey;
|
||||
|
||||
public PushCacheFilter()
|
||||
{
|
||||
LOG.warn(PushCacheFilter.class.getSimpleName() + " is an example class not suitable for production.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init(FilterConfig config) throws ServletException
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue