|
|
@ -4,6 +4,7 @@ import java.io.IOException;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.servlet.Filter;
|
|
|
|
import javax.servlet.Filter;
|
|
|
|
import javax.servlet.FilterChain;
|
|
|
|
import javax.servlet.FilterChain;
|
|
|
|
|
|
|
|
import javax.servlet.FilterConfig;
|
|
|
|
import javax.servlet.ServletException;
|
|
|
|
import javax.servlet.ServletException;
|
|
|
|
import javax.servlet.ServletRequest;
|
|
|
|
import javax.servlet.ServletRequest;
|
|
|
|
import javax.servlet.ServletResponse;
|
|
|
|
import javax.servlet.ServletResponse;
|
|
|
@ -23,6 +24,10 @@ public class ResponseHeaderFilter implements Filter {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void destroy() {}
|
|
|
|
public void destroy() {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void init(FilterConfig filterConfig) {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void doFilter(ServletRequest request, ServletResponse response,
|
|
|
|
public void doFilter(ServletRequest request, ServletResponse response,
|
|
|
|
FilterChain chain) throws IOException, ServletException {
|
|
|
|
FilterChain chain) throws IOException, ServletException {
|
|
|
|