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.StringAJAX_HEADERstatic java.lang.StringDEFLATE_HEADERstatic java.lang.StringREVISION 
- 
Constructor Summary
Constructors Constructor Description AjaxFilter() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voiddoFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain)static java.lang.StringgetAjaxId(javax.servlet.http.HttpServletRequest request)static JcmsJspAjaxContextgetJcmsJspAjaxContext(java.lang.String ajaxId, javax.servlet.http.HttpServletRequest request)voidinit(javax.servlet.FilterConfig config)- 
Methods inherited from class com.jalios.jcms.servlet.JcmsServletFilter
endFilter, initJSONBridge, processFilter 
 - 
 
 - 
 
- 
- 
Field Detail
- 
REVISION
public static final java.lang.String REVISION
- See Also:
 - Constant Field Values
 
 
- 
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:
 doFilterin interfacejavax.servlet.Filter- Throws:
 java.io.IOExceptionjavax.servlet.ServletException
 
- 
init
public void init(javax.servlet.FilterConfig config)
- Specified by:
 initin interfacejavax.servlet.Filter
 
- 
destroy
public void destroy()
- Specified by:
 destroyin 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)
 
 - 
 
 -