public interface Interceptor
| Modifier and Type | Method and Description |
|---|---|
Interceptor |
getNext()
Returns the next interceptor in the invocation chain or null if the interceptor is the last one.
|
Message |
invoke(Message msg)
Mediates a service invocation.
|
void |
setNext(Interceptor next)
Sets the next interceptor in the invocation chain.
|
Message invoke(Message msg)
msg - the request Message for the invocationvoid setNext(Interceptor next)
next - the next interceptorInterceptor getNext()