@Override public boolean handleFault(MessageContext messageContext, Object endpoint) throws Exception { for (EndpointInterceptor interceptor : interceptors) { if (shouldIntercept(interceptor, messageContext, endpoint) && !interceptor.handleFault(messageContext, endpoint)) { return false; } } return true; }
public boolean handleFault(MessageContext messageContext) throws WebServiceClientException { try { return interceptor.handleFault(messageContext, null); } catch (Exception e) { throw new ServerSideInterceptorWebServiceClientException(e); } }
public boolean handleFault(MessageContext messageContext, Object endpoint) throws Exception { return getDelegate().handleFault(messageContext, endpoint); } }
@Override public boolean handleFault(MessageContext messageContext, Object endpoint) throws Exception { return getDelegate().handleFault(messageContext, endpoint); }
@Override public boolean handleFault(MessageContext messageContext, Object endpoint) throws Exception { return getDelegate().handleFault(messageContext, endpoint); }
@Override public boolean handleFault(MessageContext messageContext, Object endpoint) throws Exception { return getDelegate().handleFault(messageContext, endpoint); }
/** * Processes response using interceptors. * @param messageContext * @throws IOException */ protected void handleResponse(MessageContext messageContext) throws IOException { if (!interceptors.isEmpty()) { boolean hasFault = hasFault(messageContext); for (EndpointInterceptor interceptor:interceptors) { try { if (!hasFault) { if (!interceptor.handleResponse(messageContext, null)) return; } else { if (!interceptor.handleFault(messageContext, null)) return; } } catch (Exception e) { throw new IOException("Unexpected exception",e); } } } } /**
resume = interceptor.handleFault(messageContext, mappedEndpoint.getEndpoint());
resume = interceptor.handleFault(messageContext, mappedEndpoint.getEndpoint());
resume = interceptor.handleFault(messageContext, mappedEndpoint.getEndpoint());
resume = interceptor.handleFault(messageContext, mappedEndpoint.getEndpoint());