public class TinyHttpFilter extends Object implements javax.servlet.Filter
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PAGE_KEY |
static String |
DEFAULT_POST_DATA_KEY |
static String |
DEFAULT_POST_NODE_NAME |
static String |
REQUEST_ID |
static String |
REQUEST_QUERY_STRING |
static String |
REQUEST_REMOTE_ADDR |
static String |
REQUEST_REMOTE_HOST_MDC_KEY |
static String |
REQUEST_REQUEST_URI |
static String |
REQUEST_REQUEST_URL |
static String |
REQUEST_USER_AGENT_MDC_KEY |
static String |
REQUEST_X_FORWARDED_FOR |
Constructor and Description |
---|
TinyHttpFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain) |
void |
init(javax.servlet.FilterConfig filterConfig) |
public static final String DEFAULT_POST_DATA_KEY
public static final String DEFAULT_POST_NODE_NAME
public static final String DEFAULT_PAGE_KEY
public static final String REQUEST_REMOTE_HOST_MDC_KEY
public static final String REQUEST_USER_AGENT_MDC_KEY
public static final String REQUEST_REQUEST_URI
public static final String REQUEST_QUERY_STRING
public static final String REQUEST_REQUEST_URL
public static final String REQUEST_X_FORWARDED_FOR
public static final String REQUEST_ID
public static final String REQUEST_REMOTE_ADDR
public void destroy()
destroy
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
Copyright © 2006–2018 TinyGroup. All rights reserved.