Package ch.qos.logback.access.servlet
Class TeeFilter
- java.lang.Object
-
- ch.qos.logback.access.servlet.TeeFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
public class TeeFilter extends java.lang.Object implements javax.servlet.Filter
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
active
-
Constructor Summary
Constructors Constructor Description TeeFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static boolean
computeActivation(java.lang.String hostname, java.lang.String includeListAsStr, java.lang.String excludeListAsStr)
void
destroy()
void
doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain)
(package private) static java.util.List<java.lang.String>
extractNameList(java.lang.String nameListAsStr)
(package private) static java.lang.String
getLocalhostName()
void
init(javax.servlet.FilterConfig filterConfig)
(package private) static boolean
mathesExcludesList(java.lang.String hostname, java.util.List<java.lang.String> excludesList)
(package private) static boolean
mathesIncludesList(java.lang.String hostname, java.util.List<java.lang.String> includeList)
-
-
-
Method Detail
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejavax.servlet.Filter
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain) throws java.io.IOException, javax.servlet.ServletException
- Specified by:
doFilter
in interfacejavax.servlet.Filter
- Throws:
java.io.IOException
javax.servlet.ServletException
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
- Specified by:
init
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
-
extractNameList
static java.util.List<java.lang.String> extractNameList(java.lang.String nameListAsStr)
-
getLocalhostName
static java.lang.String getLocalhostName()
-
computeActivation
static boolean computeActivation(java.lang.String hostname, java.lang.String includeListAsStr, java.lang.String excludeListAsStr)
-
mathesIncludesList
static boolean mathesIncludesList(java.lang.String hostname, java.util.List<java.lang.String> includeList)
-
mathesExcludesList
static boolean mathesExcludesList(java.lang.String hostname, java.util.List<java.lang.String> excludesList)
-
-