public class SLF4JMDCServletFilter extends Object implements javax.servlet.Filter
| Modifier and Type | Field and Description |
|---|---|
static String |
CLIENT_ADDRESS_MDC_ATTRIBUTE
MDC attribute name for client address.
|
static String |
JSESSIONID_MDC_ATTRIBUTE
MDC attribute name for container session ID.
|
static String |
SERVER_ADDRESS_MDC_ATTRIBUTE
MDC attribute name for host name of the server to which the current request was sent.
|
static String |
SERVER_PORT_MDC_ATTRIBUTE
MDC attribute name for port number to which the current request was sent.
|
| Constructor and Description |
|---|
SLF4JMDCServletFilter() |
@Nonnull @NotEmpty public static final String SERVER_ADDRESS_MDC_ATTRIBUTE
@Nonnull @NotEmpty public static final String SERVER_PORT_MDC_ATTRIBUTE
@Nonnull @NotEmpty public static final String CLIENT_ADDRESS_MDC_ATTRIBUTE
@Nonnull @NotEmpty public static final String JSESSIONID_MDC_ATTRIBUTE
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.FilterIOExceptionjavax.servlet.ServletExceptionpublic void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.FilterCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.