net.javacrumbs.smock.common
Class EndpointInterceptorClientAdapter
java.lang.Object
net.javacrumbs.smock.common.EndpointInterceptorClientAdapter
- All Implemented Interfaces:
- org.springframework.ws.client.support.interceptor.ClientInterceptor
public class EndpointInterceptorClientAdapter
- extends Object
- implements org.springframework.ws.client.support.interceptor.ClientInterceptor
Converts EndpointInterceptor to ClientInterceptor.
- Author:
- Lukas Krecan
|
Method Summary |
boolean |
handleFault(org.springframework.ws.context.MessageContext messageContext)
|
boolean |
handleRequest(org.springframework.ws.context.MessageContext messageContext)
|
boolean |
handleResponse(org.springframework.ws.context.MessageContext messageContext)
|
static org.springframework.ws.client.support.interceptor.ClientInterceptor[] |
wrapEndpointInterceptors(org.springframework.ws.server.EndpointInterceptor[] endpointInterceptors)
Wraps all intrceptors in the array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EndpointInterceptorClientAdapter
public EndpointInterceptorClientAdapter(org.springframework.ws.server.EndpointInterceptor interceptor)
wrapEndpointInterceptors
public static org.springframework.ws.client.support.interceptor.ClientInterceptor[] wrapEndpointInterceptors(org.springframework.ws.server.EndpointInterceptor[] endpointInterceptors)
- Wraps all intrceptors in the array.
- Parameters:
endpointInterceptors -
- Returns:
handleFault
public boolean handleFault(org.springframework.ws.context.MessageContext messageContext)
throws org.springframework.ws.client.WebServiceClientException
- Specified by:
handleFault in interface org.springframework.ws.client.support.interceptor.ClientInterceptor
- Throws:
org.springframework.ws.client.WebServiceClientException
handleRequest
public boolean handleRequest(org.springframework.ws.context.MessageContext messageContext)
throws org.springframework.ws.client.WebServiceClientException
- Specified by:
handleRequest in interface org.springframework.ws.client.support.interceptor.ClientInterceptor
- Throws:
org.springframework.ws.client.WebServiceClientException
handleResponse
public boolean handleResponse(org.springframework.ws.context.MessageContext messageContext)
throws org.springframework.ws.client.WebServiceClientException
- Specified by:
handleResponse in interface org.springframework.ws.client.support.interceptor.ClientInterceptor
- Throws:
org.springframework.ws.client.WebServiceClientException
Copyright © 2011. All Rights Reserved.