Package thredds.servlet.filter
Class CookieFilter
- java.lang.Object
-
- thredds.servlet.filter.CookieFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
public class CookieFilter extends Object implements javax.servlet.Filter
This class will modify the session cookie path, if a session attribute named SESSION_PATH exists. Appears to be part of an early (2009) attempt to use sessions in opendap to ensure that datasets dont change during a session. That functionality is turned off, so assume we dont need this.- Since:
- Jun 23, 2009
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSESSIONIDstatic StringSESSION_PATH
-
Constructor Summary
Constructors Constructor Description CookieFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voiddoFilter(javax.servlet.ServletRequest _request, javax.servlet.ServletResponse _response, javax.servlet.FilterChain chain)voidinit(javax.servlet.FilterConfig config)
-
-
-
Field Detail
-
JSESSIONID
public static final String JSESSIONID
- See Also:
- Constant Field Values
-
SESSION_PATH
public static final String SESSION_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException- Specified by:
initin interfacejavax.servlet.Filter- Throws:
javax.servlet.ServletException
-
doFilter
public void doFilter(javax.servlet.ServletRequest _request, javax.servlet.ServletResponse _response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException- Specified by:
doFilterin interfacejavax.servlet.Filter- Throws:
IOExceptionjavax.servlet.ServletException
-
destroy
public void destroy()
- Specified by:
destroyin interfacejavax.servlet.Filter
-
-