org.slim3.struts.filter
Class RoutingFilter
java.lang.Object
org.slim3.struts.filter.RoutingFilter
- All Implemented Interfaces:
- Filter
public class RoutingFilter
- extends Object
- implements Filter
A filter for routing.
- Since:
- 3.0
- Author:
- higa
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoutingFilter
public RoutingFilter()
assembleActionPath
public static String assembleActionPath(String path)
- Assembles action path
- Parameters:
path
- the path
- Returns:
- action path
init
public void init(FilterConfig config)
throws ServletException
- The suffix of action.
- Specified by:
init
in interface Filter
- Throws:
ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface Filter
doFilter
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException,
ServletException
- Specified by:
doFilter
in interface Filter
- Throws:
IOException
ServletException
Copyright © 2008-2009 The Slim3 project. All Rights Reserved.