public class EmptyBodyFilter extends Object implements javax.servlet.Filter
Modifier and Type | Field and Description |
---|---|
protected static Pattern |
CONTENT_TYPE_JSON_PATTERN |
Constructor and Description |
---|
EmptyBodyFilter() |
protected static final Pattern CONTENT_TYPE_JSON_PATTERN
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, 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
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
Copyright © 2017. All rights reserved.