|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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). |
String |
toString()
Delegates to the handler's toString(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HandlerExecutionChain(Object handler)
handler - the handler object to execute
public 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 executes| Method Detail |
|---|
public Object getHandler()
public void addInterceptor(HandlerInterceptor interceptor)
public void addInterceptors(HandlerInterceptor[] interceptors)
public HandlerInterceptor[] getInterceptors()
null)public String toString()
toString().
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||