Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.cache.filter
Class CacheFilter

java.lang.Object
  extended by weblogic.cache.filter.CacheFilter

All Implemented Interfaces:
Filter

Deprecated. since 12.2.1, with no replacement

public class CacheFilter
extends Object
implements Filter

A Filter implementation that is able to cache attributes and results from standard requests and responses. To use this filter webapps must specify it in their deployment descriptor. The CacheFilter has several configuration options timeout the time-to-live on cached entries, by default cached entries never timeout. max-cache-size the maximum size of an element that can be cached, by default CacheFilter.MAX_CACHED_SIZE size the size of the cache, default unbounded scope the scope of cached values, by default application. key FIXME vars FIXME verbose whether caching operations should be logged, by default off.


Method Summary
 void destroy()
          Deprecated. since 12.2.1, with no replacement
 void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
          Deprecated. since 12.2.1, with no replacement
protected  weblogic.cache.webapp.KeySet getKeySet(weblogic.cache.webapp.CacheSystem cs)
          Deprecated. since 12.2.1, with no replacement
 void init(FilterConfig config)
          Deprecated. since 12.2.1, with no replacement

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getKeySet

protected weblogic.cache.webapp.KeySet getKeySet(weblogic.cache.webapp.CacheSystem cs)
                                          throws weblogic.cache.CacheException
Deprecated. since 12.2.1, with no replacement
Throws:
weblogic.cache.CacheException

init

public void init(FilterConfig config)
          throws ServletException
Deprecated. since 12.2.1, with no replacement
Initialize the CacheFilter
Specified by:
init in interface Filter
Parameters:
config -
Throws:
ServletException

destroy

public void destroy()
Deprecated. since 12.2.1, with no replacement
Destroy the CacheFilter
Specified by:
destroy in interface Filter

doFilter

public void doFilter(ServletRequest req,
                     ServletResponse res,
                     FilterChain chain)
              throws ServletException,
                     IOException
Deprecated. since 12.2.1, with no replacement
Filter and cache servlet requests and responses.
Specified by:
doFilter in interface Filter
Parameters:
req -
res -
chain -
Throws:
ServletException
IOException

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09