org.loom.filter
Class StaticResourcesFilter
java.lang.Object
org.loom.filter.AbstractLoomFilter
org.loom.filter.StaticResourcesFilter
- All Implemented Interfaces:
- javax.servlet.Filter
Deprecated. You will get better performance just by putting your cached resources together in a certain folder and caching the entire folder.
public class StaticResourcesFilter
- extends AbstractLoomFilter
Sets the browser cache for the filtered resources.
Method Summary |
void |
destroy()
Deprecated. |
void |
doFilter(LoomServletRequest request,
LoomServletResponse response,
javax.servlet.FilterChain chain)
Deprecated. |
void |
init(javax.servlet.FilterConfig filterConfig)
Deprecated. Expected init argument:
patterns: list of regex for matching patterns, separated by commas, spaces, tabs or newlines |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticResourcesFilter
public StaticResourcesFilter()
- Deprecated.
init
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
- Deprecated.
- Expected init argument:
patterns: list of regex for matching patterns, separated by commas, spaces, tabs or newlines
- Specified by:
init
in interface javax.servlet.Filter
- Overrides:
init
in class AbstractLoomFilter
- Throws:
javax.servlet.ServletException
doFilter
public void doFilter(LoomServletRequest request,
LoomServletResponse response,
javax.servlet.FilterChain chain)
throws java.io.IOException,
javax.servlet.ServletException
- Deprecated.
- Specified by:
doFilter
in class AbstractLoomFilter
- Throws:
java.io.IOException
javax.servlet.ServletException
destroy
public void destroy()
- Deprecated.
- Specified by:
destroy
in interface javax.servlet.Filter
- Overrides:
destroy
in class AbstractLoomFilter