org.unitedfront2.web.handler
クラス WidgetInterceptor

java.lang.Object
  上位を拡張 org.springframework.web.servlet.handler.HandlerInterceptorAdapter
      上位を拡張 org.unitedfront2.web.handler.WidgetInterceptor
すべての実装されたインタフェース:
HandlerInterceptor

@Repository(value="widgetInterceptor")
public class WidgetInterceptor
extends HandlerInterceptorAdapter

セッション中のウィジェット情報をビューで利用できるようにします。

作成者:
kurokkie

フィールドの概要
static String DEFAULT_PARAM_NAME
          パラメータ名のデフォルト (widget)
static List<Widget> DEFAULT_WIDGETS
          デフォルトのウィジェットリストです。
 
コンストラクタの概要
WidgetInterceptor()
           
 
メソッドの概要
 void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView)
           
 boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
           
 void setParamName(String paramName)
           
 
クラス org.springframework.web.servlet.handler.HandlerInterceptorAdapter から継承されたメソッド
afterCompletion
 
クラス 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)

関連項目:
定数フィールド値

DEFAULT_WIDGETS

public static final List<Widget> DEFAULT_WIDGETS
デフォルトのウィジェットリストです。次のウィジェットを含んでいます。

コンストラクタの詳細

WidgetInterceptor

public WidgetInterceptor()
メソッドの詳細

preHandle

public boolean preHandle(HttpServletRequest request,
                         HttpServletResponse response,
                         Object handler)
                  throws Exception
定義:
インタフェース HandlerInterceptor 内の preHandle
オーバーライド:
クラス HandlerInterceptorAdapter 内の preHandle
例外:
Exception

postHandle

public void postHandle(HttpServletRequest request,
                       HttpServletResponse response,
                       Object handler,
                       ModelAndView modelAndView)
定義:
インタフェース HandlerInterceptor 内の postHandle
オーバーライド:
クラス HandlerInterceptorAdapter 内の postHandle

setParamName

public void setParamName(String paramName)


Copyright © 2007-2008 www.unitedfront2.org. All Rights Reserved.