com.sun.xml.ws.handler
Class SOAPHandlerProcessor<C extends MessageUpdatableContext>
java.lang.Object
com.sun.xml.ws.handler.HandlerProcessor<C>
com.sun.xml.ws.handler.SOAPHandlerProcessor<C>
final class SOAPHandlerProcessor<C extends MessageUpdatableContext>
- extends HandlerProcessor<C>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOAPHandlerProcessor
public SOAPHandlerProcessor(boolean isClient,
HandlerTube owner,
WSBinding binding,
List<? extends javax.xml.ws.handler.Handler> chain)
- Creates a new instance of SOAPHandlerProcessor
insertFaultMessage
final void insertFaultMessage(C context,
javax.xml.ws.ProtocolException exception)
- Replace the message in the given message context with a
fault message. If the context already contains a fault
message, then return without changing it.
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.
- Specified by:
insertFaultMessage
in class HandlerProcessor<C extends MessageUpdatableContext>