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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterCompletion(org.springframework.ws.context.MessageContext messageContext, Object endpoint, Exception ex) List<org.springframework.ws.server.EndpointInterceptor>Gets the interceptor list.booleanhandleFault(org.springframework.ws.context.MessageContext messageContext, Object endpoint) booleanhandleRequest(org.springframework.ws.context.MessageContext messageContext, Object endpoint) booleanhandleResponse(org.springframework.ws.context.MessageContext messageContext, Object endpoint) voidsetInterceptors(List<org.springframework.ws.server.EndpointInterceptor> interceptors) Sets the interceptor list.booleanshouldIntercept(org.springframework.ws.context.MessageContext messageContext, Object endpoint) booleanunderstands(org.springframework.ws.soap.SoapHeaderElement header)
-
Constructor Details
-
DelegatingEndpointInterceptor
public DelegatingEndpointInterceptor()
-
-
Method Details
-
shouldIntercept
public boolean shouldIntercept(org.springframework.ws.context.MessageContext messageContext, Object endpoint) - Specified by:
shouldInterceptin interfaceorg.springframework.ws.server.SmartEndpointInterceptor
-
handleRequest
public boolean handleRequest(org.springframework.ws.context.MessageContext messageContext, Object endpoint) throws Exception - Specified by:
handleRequestin interfaceorg.springframework.ws.server.EndpointInterceptor- Throws:
Exception
-
handleResponse
public boolean handleResponse(org.springframework.ws.context.MessageContext messageContext, Object endpoint) throws Exception - Specified by:
handleResponsein interfaceorg.springframework.ws.server.EndpointInterceptor- Throws:
Exception
-
handleFault
public boolean handleFault(org.springframework.ws.context.MessageContext messageContext, Object endpoint) throws Exception - Specified by:
handleFaultin interfaceorg.springframework.ws.server.EndpointInterceptor- Throws:
Exception
-
afterCompletion
public void afterCompletion(org.springframework.ws.context.MessageContext messageContext, Object endpoint, Exception ex) throws Exception - Specified by:
afterCompletionin interfaceorg.springframework.ws.server.EndpointInterceptor- Throws:
Exception
-
understands
public boolean understands(org.springframework.ws.soap.SoapHeaderElement header) - Specified by:
understandsin interfaceorg.springframework.ws.soap.server.SoapEndpointInterceptor
-
getInterceptors
Gets the interceptor list.- Returns:
-
setInterceptors
Sets the interceptor list.- Parameters:
interceptors-
-