org.unitedfront2.web.handler
Class WidgetInterceptor
java.lang.Object
org.springframework.web.servlet.handler.HandlerInterceptorAdapter
org.unitedfront2.web.handler.WidgetInterceptor
- All Implemented Interfaces:
- HandlerInterceptor
@Repository(value="widgetInterceptor")
public class WidgetInterceptor
- extends HandlerInterceptorAdapter
セッション中のウィジェット情報をビューで利用できるようにします。
- Author:
- kurokkie
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PARAM_NAME
public static final String DEFAULT_PARAM_NAME
- パラメータ名のデフォルト (widget)
- See Also:
- Constant Field Values
DEFAULT_WIDGETS
public static final List<Widget> DEFAULT_WIDGETS
- デフォルトのウィジェットリストです。次のウィジェットを含んでいます。
WidgetInterceptor
public WidgetInterceptor()
preHandle
public boolean preHandle(HttpServletRequest request,
HttpServletResponse response,
Object handler)
throws Exception
- Specified by:
preHandle in interface HandlerInterceptor- Overrides:
preHandle in class HandlerInterceptorAdapter
- Throws:
Exception
postHandle
public void postHandle(HttpServletRequest request,
HttpServletResponse response,
Object handler,
ModelAndView modelAndView)
- Specified by:
postHandle in interface HandlerInterceptor- Overrides:
postHandle in class HandlerInterceptorAdapter
setParamName
public void setParamName(String paramName)
Copyright © 2007-2009 www.unitedfront2.org. All Rights Reserved.