|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.web.servlet.HandlerExecutionChain
public class HandlerExecutionChain
Handler execution chain, consisting of handler object and any handler interceptors.
Returned by HandlerMapping's HandlerMapping.getHandler(javax.servlet.http.HttpServletRequest)
method.
HandlerInterceptor
Constructor Summary | |
---|---|
HandlerExecutionChain(Object handler)
Create a new HandlerExecutionChain. |
|
HandlerExecutionChain(Object handler,
HandlerInterceptor[] interceptors)
Create a new HandlerExecutionChain. |
Method Summary | |
---|---|
void |
addInterceptor(HandlerInterceptor interceptor)
|
void |
addInterceptors(HandlerInterceptor[] interceptors)
|
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 |
---|
public HandlerExecutionChain(Object handler)
handler
- the handler object to executepublic HandlerExecutionChain(Object handler, HandlerInterceptor[] interceptors)
handler
- the handler object to executeinterceptors
- the array of interceptors to apply
(in the given order) before the handler itself executesMethod Detail |
---|
public Object getHandler()
public void addInterceptor(HandlerInterceptor interceptor)
public void addInterceptors(HandlerInterceptor[] interceptors)
public HandlerInterceptor[] getInterceptors()
null
)
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |