Package cronapi
Class CronapiFilter
- java.lang.Object
-
- cronapi.CronapiFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
public class CronapiFilter extends Object implements javax.servlet.Filter
-
-
Field Summary
Fields Modifier and Type Field Description static ThreadLocal<javax.servlet.http.HttpServletRequest>REQUESTstatic ThreadLocal<javax.servlet.http.HttpServletResponse>RESPONSE
-
Constructor Summary
Constructors Constructor Description CronapiFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voiddoFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain)voidinit(javax.servlet.FilterConfig chain)
-
-
-
Field Detail
-
REQUEST
public static ThreadLocal<javax.servlet.http.HttpServletRequest> REQUEST
-
RESPONSE
public static ThreadLocal<javax.servlet.http.HttpServletResponse> RESPONSE
-
-
Method Detail
-
init
public void init(javax.servlet.FilterConfig chain) throws javax.servlet.ServletException- Specified by:
initin interfacejavax.servlet.Filter- Throws:
javax.servlet.ServletException
-
doFilter
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, 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
-
-