站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 1.2.9 API 文档英文版

HandlerExecutionChain (Spring Framework) - Spring Framework 1.2.9 API 文档英文版


org.springframework.web.servlet
Class HandlerExecutionChain

java.lang.Object
  extended by org.springframework.web.servlet.HandlerExecutionChain

public class HandlerExecutionChain
extends Object

Handler execution chain, consisting of handler object and any preprocessing interceptors. Returned by HandlerMapping's getHandler method.

Since:
20.06.2003
Author:
Juergen Hoeller
See Also:
HandlerMapping.getHandler(javax.servlet.http.HttpServletRequest), HandlerInterceptor

Constructor Summary
HandlerExecutionChain(Object handler)
          Create new HandlerExecutionChain.
HandlerExecutionChain(Object handler, HandlerInterceptor[] interceptors)
          Create new HandlerExecutionChain.
 
Method Summary
 Object getHandler()
          Return the handler object to execute.
 HandlerInterceptor[] getInterceptors()
          Return the array of interceptors to apply (in the given order) before the handler itself executes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerExecutionChain

public HandlerExecutionChain(Object handler)
Create new HandlerExecutionChain.

Parameters:
handler - the handler object to execute

HandlerExecutionChain

public HandlerExecutionChain(Object handler,
                             HandlerInterceptor[] interceptors)
Create new HandlerExecutionChain.

Parameters:
handler - the handler object to execute
interceptors - the array of interceptors to apply (in the given order) before the handler itself executes
Method Detail

getHandler

public Object getHandler()
Return the handler object to execute.

Returns:
the handler object (should not be null)

getInterceptors

public HandlerInterceptor[] getInterceptors()
Return the array of interceptors to apply (in the given order) before the handler itself executes.

Returns:
the array of HandlerInterceptors instances (may be null)


Copyright (c) 2002-2007 The Spring Framework Project.