to.etc.domui.server
Class AppFilter
java.lang.Object
to.etc.domui.server.AppFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class AppFilter
- extends java.lang.Object
- implements javax.servlet.Filter
Base filter which accepts requests to the dom windows. This accepts all URLs that end with a special
suffix and redigates them to the appropriate handler.
- Author:
- Frits Jalvingh
Created on May 22, 2008
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppFilter
public AppFilter()
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
minitime
public static java.lang.String minitime()
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 interface javax.servlet.Filter
- Throws:
java.io.IOException
javax.servlet.ServletException
internalGetWebappContext
public static java.lang.String internalGetWebappContext()
getApplicationURL
public static java.lang.String getApplicationURL()
init
public void init(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
- Initialize by reading config from the web.xml.
- Specified by:
init
in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException
- See Also:
Filter.init(javax.servlet.FilterConfig)
getApplicationClassName
public java.lang.String getApplicationClassName(ConfigParameters p)