final class SOAPHandlerProcessor<C extends MessageUpdatableContext> extends HandlerProcessor<C>
HandlerProcessor.Direction, HandlerProcessor.RequestOrResponse
binding, isClient, logger
Constructor and Description |
---|
SOAPHandlerProcessor(boolean isClient,
HandlerTube owner,
WSBinding binding,
List<? extends Handler> chain)
Creates a new instance of SOAPHandlerProcessor
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
insertFaultMessage(C context,
ProtocolException exception)
Replace the message in the given message context with a
fault message.
|
callHandlersRequest, callHandlersResponse, closeHandlers, getIndex, setIndex
public SOAPHandlerProcessor(boolean isClient, HandlerTube owner, WSBinding binding, List<? extends Handler> chain)
final void insertFaultMessage(C context, ProtocolException exception)
This method should only be called during a request, because during a response an exception from a handler is dispatched rather than replacing the message with a fault. So this method can use the MESSAGE_OUTBOUND_PROPERTY to determine whether it is being called on the client or the server side. If this changes in the spec, then something else will need to be passed to the method to determine whether the fault code is client or server.
insertFaultMessage
in class HandlerProcessor<C extends MessageUpdatableContext>
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.