org.jmage.mapper
Class InterceptorMapper
java.lang.Object
org.jmage.mapper.InterceptorMapper
- All Implemented Interfaces:
- javax.servlet.Filter
public class InterceptorMapper
- extends java.lang.Object
- implements javax.servlet.Filter
Filters http servlet requests for GET image and redirects to filtered images based
rules.
Method Summary |
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
|
void |
init(javax.servlet.FilterConfig filterConfig)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMAGE_MATCHED
public static final java.lang.String JMAGE_MATCHED
- See Also:
- Constant Field Values
JMAGE_FILTERED
public static final java.lang.String JMAGE_FILTERED
- See Also:
- Constant Field Values
JMAGE_INTERNAL
public static final java.lang.String JMAGE_INTERNAL
- See Also:
- Constant Field Values
log
protected static org.apache.log4j.Logger log
InterceptorMapper
public InterceptorMapper()
doFilter
public void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Throws:
java.io.IOException
javax.servlet.ServletException
init
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
Copyright © 2004-2008 Sourceforge. All Rights Reserved.