public class HandlerExecutionChain extends Object
HandlerMapping.getHandler(javax.portlet.PortletRequest)
method.HandlerInterceptor
Constructor and Description |
---|
HandlerExecutionChain(Object handler)
Create a new HandlerExecutionChain.
|
HandlerExecutionChain(Object handler,
HandlerInterceptor... interceptors)
Create a new HandlerExecutionChain.
|
Modifier and Type | Method and Description |
---|---|
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() . |
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 executespublic Object getHandler()
null
)public void addInterceptor(HandlerInterceptor interceptor)
public void addInterceptors(HandlerInterceptor... interceptors)
public HandlerInterceptor[] getInterceptors()
null
)