public class HttpCachingHeaderFilter extends Object implements javax.servlet.Filter
ServletResponse
, if applicable.
Caching in applicable, if the request URI does not contain a certain json file. If that is the case the response is wrapped, overriding the caching behavior.
Constructor and Description |
---|
HttpCachingHeaderFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
void |
init(javax.servlet.FilterConfig filterConfig) |
public void init(javax.servlet.FilterConfig filterConfig)
init
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
Copyright © 2018 SAP SE. All rights reserved.