Package com.jalios.jcms.ajax
Class AjaxFilter
- java.lang.Object
-
- com.jalios.jcms.servlet.JcmsServletFilter
-
- com.jalios.jcms.ajax.AjaxFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
public class AjaxFilter extends JcmsServletFilter implements javax.servlet.Filter
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AJAX_HEADER
static java.lang.String
DEFLATE_HEADER
-
Constructor Summary
Constructors Constructor Description AjaxFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain)
static java.lang.String
getAjaxId(javax.servlet.http.HttpServletRequest request)
static JcmsJspAjaxContext
getJcmsJspAjaxContext(java.lang.String ajaxId, javax.servlet.http.HttpServletRequest request)
void
init(javax.servlet.FilterConfig config)
-
Methods inherited from class com.jalios.jcms.servlet.JcmsServletFilter
endFilter, initJSONBridge, processFilter
-
-
-
-
Field Detail
-
AJAX_HEADER
public static final java.lang.String AJAX_HEADER
- See Also:
- Constant Field Values
-
DEFLATE_HEADER
public static final java.lang.String DEFLATE_HEADER
- See Also:
- Constant Field Values
-
-
Method Detail
-
doFilter
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, 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
-
init
public void init(javax.servlet.FilterConfig config)
- Specified by:
init
in interfacejavax.servlet.Filter
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejavax.servlet.Filter
-
getAjaxId
public static java.lang.String getAjaxId(javax.servlet.http.HttpServletRequest request)
-
getJcmsJspAjaxContext
public static JcmsJspAjaxContext getJcmsJspAjaxContext(java.lang.String ajaxId, javax.servlet.http.HttpServletRequest request)
-
-