public class ImageRemapFilter extends java.lang.Object implements Filter
ImageRemapper
. The remap is done internally on the
server and is not visible for the web client. It is possible to
set a cache control header to control the time images are cached.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cacheControl |
private java.lang.String |
contextPath |
private int |
lengthOfContextPath |
Constructor and Description |
---|
ImageRemapFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain) |
void |
init(FilterConfig config) |
private java.lang.String cacheControl
private int lengthOfContextPath
private java.lang.String contextPath
public void init(FilterConfig config) throws ServletException
init
in interface Filter
ServletException
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws java.io.IOException, ServletException
doFilter
in interface Filter
java.io.IOException
ServletException