com.interface21.web.servlet
Class HandlerExecutionChain

java.lang.Object
  |
  +--com.interface21.web.servlet.HandlerExecutionChain

public class HandlerExecutionChain
extends java.lang.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(java.lang.Object handler)
          Create new HandlerExecutionChain.
HandlerExecutionChain(java.lang.Object handler, HandlerInterceptor[] interceptors)
          Create new HandlerExecutionChain.
 
Method Summary
 java.lang.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(java.lang.Object handler)
Create new HandlerExecutionChain.
Parameters:
handler - the handler object to execute

HandlerExecutionChain

public HandlerExecutionChain(java.lang.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 java.lang.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)


Rod Johnson and Spring contributors 2001-2003.