Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| The Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.web.servlet
Class HandlerExecutionChain

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

    public class HandlerExecutionChain

extends Object

Handler execution chain, consisting of handler object and any handler interceptors. Returned by HandlerMapping's `HandlerMapping.getHandler(javax.servlet.http.HttpServletRequest)` method.

Since:
  20.06.2003
Author:
  Juergen Hoeller
See Also:
  `HandlerInterceptor`

Constructor Summary
`HandlerExecutionChain(Object handler)` Create a new HandlerExecutionChain.
`HandlerExecutionChain(Object handler, HandlerInterceptor[] interceptors)` Create a 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).

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 a new HandlerExecutionChain.

  Parameters:
    `handler` - the handler object to execute

### HandlerExecutionChain

    public HandlerExecutionChain(Object handler,
                                 HandlerInterceptor[] interceptors)

  Create a 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 (never `null`)

### getInterceptors

    public HandlerInterceptor[] getInterceptors()

  Return the array of interceptors to apply (in the given order).

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| The Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2007 The Spring Framework.