Spring Web Services Framework

org.springframework.ws.server
Interface SmartEndpointInterceptor

All Superinterfaces:
EndpointInterceptor
All Known Subinterfaces:
SmartSoapEndpointInterceptor
All Known Implementing Classes:
DelegatingSmartEndpointInterceptor, DelegatingSmartSoapEndpointInterceptor, PayloadRootSmartSoapEndpointInterceptor, SoapActionSmartEndpointInterceptor

public interface SmartEndpointInterceptor
extends EndpointInterceptor

Extension of the EndpointInterceptor interface that adds a way to decide whether the interceptor should intercept a given message context.

Since:
2.0
Author:
Arjen Poutsma

Method Summary
 boolean shouldIntercept(MessageContext messageContext, Object endpoint)
          Indicates whether this interceptor should intercept the given message context.
 
Methods inherited from interface org.springframework.ws.server.EndpointInterceptor
afterCompletion, handleFault, handleRequest, handleResponse
 

Method Detail

shouldIntercept

boolean shouldIntercept(MessageContext messageContext,
                        Object endpoint)
Indicates whether this interceptor should intercept the given message context.

Parameters:
messageContext - contains the incoming request message
endpoint - chosen endpoint to invoke
Returns:
true to indicate that this interceptor applies; false otherwise

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.