Class DelegatingEndpointInterceptor

java.lang.Object
org.citrusframework.ws.interceptor.DelegatingEndpointInterceptor
All Implemented Interfaces:
org.springframework.ws.server.EndpointInterceptor, org.springframework.ws.server.SmartEndpointInterceptor, org.springframework.ws.soap.server.SoapEndpointInterceptor

public class DelegatingEndpointInterceptor extends Object implements org.springframework.ws.server.SmartEndpointInterceptor, org.springframework.ws.soap.server.SoapEndpointInterceptor
Interceptor implementation delegates to list of other endpoint interceptors.
Since:
1.4
Author:
Christoph Deppisch
  • Constructor Details

    • DelegatingEndpointInterceptor

      public DelegatingEndpointInterceptor()
  • Method Details

    • shouldIntercept

      public boolean shouldIntercept(org.springframework.ws.context.MessageContext messageContext, Object endpoint)
      Specified by:
      shouldIntercept in interface org.springframework.ws.server.SmartEndpointInterceptor
    • handleRequest

      public boolean handleRequest(org.springframework.ws.context.MessageContext messageContext, Object endpoint) throws Exception
      Specified by:
      handleRequest in interface org.springframework.ws.server.EndpointInterceptor
      Throws:
      Exception
    • handleResponse

      public boolean handleResponse(org.springframework.ws.context.MessageContext messageContext, Object endpoint) throws Exception
      Specified by:
      handleResponse in interface org.springframework.ws.server.EndpointInterceptor
      Throws:
      Exception
    • handleFault

      public boolean handleFault(org.springframework.ws.context.MessageContext messageContext, Object endpoint) throws Exception
      Specified by:
      handleFault in interface org.springframework.ws.server.EndpointInterceptor
      Throws:
      Exception
    • afterCompletion

      public void afterCompletion(org.springframework.ws.context.MessageContext messageContext, Object endpoint, Exception ex) throws Exception
      Specified by:
      afterCompletion in interface org.springframework.ws.server.EndpointInterceptor
      Throws:
      Exception
    • understands

      public boolean understands(org.springframework.ws.soap.SoapHeaderElement header)
      Specified by:
      understands in interface org.springframework.ws.soap.server.SoapEndpointInterceptor
    • getInterceptors

      public List<org.springframework.ws.server.EndpointInterceptor> getInterceptors()
      Gets the interceptor list.
      Returns:
    • setInterceptors

      public void setInterceptors(List<org.springframework.ws.server.EndpointInterceptor> interceptors)
      Sets the interceptor list.
      Parameters:
      interceptors -