public interface SmartEndpointInterceptor extends EndpointInterceptor
EndpointInterceptor interface that adds a way to
decide whether the interceptor should intercept a given message context.| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldIntercept(MessageContext messageContext,
Object endpoint)
Indicates whether this interceptor should intercept the given message context.
|
afterCompletion, handleFault, handleRequest, handleResponseboolean shouldIntercept(MessageContext messageContext, Object endpoint)
messageContext - contains the incoming request messageendpoint - chosen endpoint to invoketrue to indicate that this interceptor applies; false otherwiseCopyright © 2020 Pivotal Software. All rights reserved.