public class SessionCachingFilter extends Object implements javax.servlet.Filter
Modifier and Type | Class and Description |
---|---|
static class |
SessionCachingFilter.RequestWrapper
This request wrapper class extends the support class HttpServletRequestWrapper, which
implements all the methods in the HttpServletRequest interface, as delegations to the wrapped
request.
|
Constructor and Description |
---|
SessionCachingFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy method for this filter
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
static org.apache.geode.modules.session.internal.filter.SessionManager |
getSessionManager()
Retrieve the SessionManager.
|
void |
init(javax.servlet.FilterConfig config)
This is where all the initialization happens.
|
String |
toString()
Return a String representation of this object.
|
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.Filter
request
- The servlet request we are processingresponse
- The servlet response we are creatingchain
- The filter chain we are processingIOException
- if an input/output error occursjavax.servlet.ServletException
- if a servlet error occurspublic void destroy()
destroy
in interface javax.servlet.Filter
public void init(javax.servlet.FilterConfig config)
init
in interface javax.servlet.Filter
public String toString()
public static org.apache.geode.modules.session.internal.filter.SessionManager getSessionManager()