org.mortbay.util.ajax
Class AjaxFilter
java.lang.Object
org.mortbay.util.ajax.AjaxFilter
- All Implemented Interfaces:
- Filter
public class AjaxFilter
- extends Object
- implements Filter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AjaxFilter
public AjaxFilter()
init
public void init(FilterConfig filterConfig)
throws ServletException
- Specified by:
init
in interface Filter
- Throws:
ServletException
getContext
public ServletContext getContext()
- Returns:
- Returns the context.
doFilter
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException,
ServletException
- Specified by:
doFilter
in interface Filter
- Throws:
IOException
ServletException
handle
public void handle(String method,
String message,
HttpServletRequest request,
AjaxFilter.AjaxResponse response)
destroy
public void destroy()
- Specified by:
destroy
in interface Filter
encodeText
public static String encodeText(String s)