public class ImageRemapFilter extends 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 String |
cacheControl |
private 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 String cacheControl
private int lengthOfContextPath
private String contextPath
public void init(FilterConfig config) throws ServletException
init
in interface Filter
ServletException
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException
doFilter
in interface Filter
IOException
ServletException