|
|||||||||
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(HttpServletRequest)
method.
HandlerInterceptor
Field Summary | |
---|---|
private java.lang.Object |
handler
|
private java.util.List<HandlerInterceptor> |
interceptorList
|
private HandlerInterceptor[] |
interceptors
|
Constructor Summary | |
---|---|
HandlerExecutionChain(java.lang.Object handler)
Create a new HandlerExecutionChain. |
|
HandlerExecutionChain(java.lang.Object handler,
HandlerInterceptor[] interceptors)
Create a new HandlerExecutionChain. |
Method Summary | |
---|---|
void |
addInterceptor(HandlerInterceptor interceptor)
|
void |
addInterceptors(HandlerInterceptor[] interceptors)
|
java.lang.Object |
getHandler()
Return the handler object to execute. |
HandlerInterceptor[] |
getInterceptors()
Return the array of interceptors to apply (in the given order). |
private void |
initInterceptorList()
|
java.lang.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 |
Field Detail |
---|
private final java.lang.Object handler
private HandlerInterceptor[] interceptors
private java.util.List<HandlerInterceptor> interceptorList
Constructor Detail |
---|
public HandlerExecutionChain(java.lang.Object handler)
handler
- the handler object to executepublic HandlerExecutionChain(java.lang.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 java.lang.Object getHandler()
public void addInterceptor(HandlerInterceptor interceptor)
public void addInterceptors(HandlerInterceptor[] interceptors)
private void initInterceptorList()
public HandlerInterceptor[] getInterceptors()
null
)public java.lang.String toString()
toString()
.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |