Package org.eclipse.jetty.servlets
Class PushSessionCacheFilter
- java.lang.Object
-
- org.eclipse.jetty.servlets.PushSessionCacheFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
public class PushSessionCacheFilter extends java.lang.Object implements javax.servlet.Filter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
PushSessionCacheFilter.Target
-
Field Summary
Fields Modifier and Type Field Description private long
_associateDelay
private java.util.concurrent.ConcurrentMap<java.lang.String,PushSessionCacheFilter.Target>
_cache
private static Logger
LOG
private static java.lang.String
TARGET_ATTR
private static java.lang.String
TIMESTAMP_ATTR
-
Constructor Summary
Constructors Constructor Description PushSessionCacheFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
void
init(javax.servlet.FilterConfig config)
-
-
-
Field Detail
-
TARGET_ATTR
private static final java.lang.String TARGET_ATTR
- See Also:
- Constant Field Values
-
TIMESTAMP_ATTR
private static final java.lang.String TIMESTAMP_ATTR
- See Also:
- Constant Field Values
-
LOG
private static final Logger LOG
-
_cache
private final java.util.concurrent.ConcurrentMap<java.lang.String,PushSessionCacheFilter.Target> _cache
-
_associateDelay
private long _associateDelay
-
-
Method Detail
-
init
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
- Specified by:
init
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws java.io.IOException, javax.servlet.ServletException
- Specified by:
doFilter
in interfacejavax.servlet.Filter
- Throws:
java.io.IOException
javax.servlet.ServletException
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejavax.servlet.Filter
-
-