Package org.javalite.activeweb
Class RequestDispatcher
java.lang.Object
org.javalite.activeweb.RequestDispatcher
- All Implemented Interfaces:
javax.servlet.Filter
- Author:
- Igor Polevoy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain)
void
init(javax.servlet.FilterConfig filterConfig)
protected void
initApp(AppContext context)
protected void
setRouteConfig(AbstractRouteConfig routeConfig)
-
Constructor Details
-
RequestDispatcher
public RequestDispatcher()
-
-
Method Details
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException- Specified by:
init
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
-
initApp
-
getContext
-
setRouteConfig
-
doFilter
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException- Specified by:
doFilter
in interfacejavax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroy
in interfacejavax.servlet.Filter
-