com.sun.xml.ws.protocol.soap
Class MUTube
java.lang.Object
com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl
com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
com.sun.xml.ws.protocol.soap.MUTube
- All Implemented Interfaces:
- Pipe, Tube
- Direct Known Subclasses:
- ClientMUTube, ServerMUTube
abstract class MUTube
- extends AbstractFilterTubeImpl
Methods inherited from class com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl |
copy, copy, doInvoke, doInvokeAndForget, doReturnWith, doSuspend, doSuspend, doSuspend, doSuspend, doThrow, process |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final Logger logger
soapVersion
protected final SOAPVersion soapVersion
binding
protected SOAPBindingImpl binding
MUTube
protected MUTube(WSBinding binding,
Tube next)
MUTube
protected MUTube(MUTube that,
TubeCloner cloner)
getMisUnderstoodHeaders
public final Set<QName> getMisUnderstoodHeaders(MessageHeaders headers,
Set<String> roles,
Set<QName> handlerKnownHeaders)
- Parameters:
headers
- HeaderList that needs MU processingroles
- Roles configured on the Binding. Required Roles supposed to be assumbed a by a
SOAP Binding implementation are added.handlerKnownHeaders
- Set of headers that the handlerchain associated with the binding understands
- Returns:
- returns the headers that have mustUnderstand attribute and are not understood
by the binding.
createMUSOAPFaultException
final SOAPFaultException createMUSOAPFaultException(Set<QName> notUnderstoodHeaders)
- Parameters:
notUnderstoodHeaders
-
- Returns:
- SOAPfaultException with SOAPFault representing the MustUnderstand SOAP Fault.
notUnderstoodHeaders are added in the fault detail.
createMUSOAPFaultMessage
final Message createMUSOAPFaultMessage(Set<QName> notUnderstoodHeaders)
- This should be used only in ServerMUPipe
- Parameters:
notUnderstoodHeaders
-
- Returns:
- Message representing a SOAPFault
In SOAP 1.1, notUnderstoodHeaders are added in the fault Detail
in SOAP 1.2, notUnderstoodHeaders are added as the SOAP Headers
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.