Spring Web Services Framework

org.springframework.ws.soap.server.endpoint.interceptor
Class SoapActionSmartEndpointInterceptor

java.lang.Object
  extended by org.springframework.ws.server.endpoint.interceptor.DelegatingSmartEndpointInterceptor
      extended by org.springframework.ws.soap.server.endpoint.interceptor.DelegatingSmartSoapEndpointInterceptor
          extended by org.springframework.ws.soap.server.endpoint.interceptor.SoapActionSmartEndpointInterceptor
All Implemented Interfaces:
EndpointInterceptor, SmartEndpointInterceptor, SmartSoapEndpointInterceptor, SoapEndpointInterceptor

public class SoapActionSmartEndpointInterceptor
extends DelegatingSmartSoapEndpointInterceptor

Implementation of the SmartEndpointInterceptor interface that only intercepts requests that have a specified soap action.

Since:
2.0
Author:
Arjen Poutsma

Constructor Summary
SoapActionSmartEndpointInterceptor(EndpointInterceptor delegate, String soapAction)
           
 
Method Summary
protected  boolean shouldIntercept(WebServiceMessage request, Object endpoint)
          Indicates whether this interceptor should intercept the given request message.
 
Methods inherited from class org.springframework.ws.soap.server.endpoint.interceptor.DelegatingSmartSoapEndpointInterceptor
understands
 
Methods inherited from class org.springframework.ws.server.endpoint.interceptor.DelegatingSmartEndpointInterceptor
afterCompletion, getDelegate, handleFault, handleRequest, handleResponse, shouldIntercept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.ws.server.SmartEndpointInterceptor
shouldIntercept
 
Methods inherited from interface org.springframework.ws.server.EndpointInterceptor
afterCompletion, handleFault, handleRequest, handleResponse
 

Constructor Detail

SoapActionSmartEndpointInterceptor

public SoapActionSmartEndpointInterceptor(EndpointInterceptor delegate,
                                          String soapAction)
Method Detail

shouldIntercept

protected boolean shouldIntercept(WebServiceMessage request,
                                  Object endpoint)
Description copied from class: DelegatingSmartEndpointInterceptor
Indicates whether this interceptor should intercept the given request message.

This implementation always returns true.

Overrides:
shouldIntercept in class DelegatingSmartEndpointInterceptor
Parameters:
request - the 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.