com.sun.xml.ws.protocol.soap
Class MUTube

java.lang.Object
  extended by com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl
      extended by com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
          extended by com.sun.xml.ws.protocol.soap.MUTube
All Implemented Interfaces:
Pipe, Tube
Direct Known Subclasses:
ClientMUTube, ServerMUTube

abstract class MUTube
extends AbstractFilterTubeImpl


Field Summary
protected static Logger logger
           
protected  SOAPVersion soapVersion
           
 
Fields inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
next
 
Constructor Summary
protected MUTube(MUTube that, TubeCloner cloner)
           
protected MUTube(WSBinding binding, Tube next)
           
 
Method Summary
(package private)  javax.xml.ws.soap.SOAPFaultException createMUSOAPFaultException(Set<QName> notUnderstoodHeaders)
           
(package private)  Message createMUSOAPFaultMessage(Set<QName> notUnderstoodHeaders)
          This should be used only in ServerMUPipe
protected  Set<QName> getMisUnderstoodHeaders(HeaderList headers, Set<String> roles, Set<QName> knownHeaders)
           
 
Methods inherited from class com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
preDestroy, processException, processRequest, processResponse
 
Methods inherited from class com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl
copy, copy, doInvoke, doInvokeAndForget, doReturnWith, doSuspend, doThrow, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final Logger logger

soapVersion

protected final SOAPVersion soapVersion
Constructor Detail

MUTube

protected MUTube(WSBinding binding,
                 Tube next)

MUTube

protected MUTube(MUTube that,
                 TubeCloner cloner)
Method Detail

getMisUnderstoodHeaders

protected final Set<QName> getMisUnderstoodHeaders(HeaderList headers,
                                                   Set<String> roles,
                                                   Set<QName> knownHeaders)
Parameters:
headers - HeaderList that needs MU processing
roles - Roles configured on the Binding. Required Roles supposed to be assumbed a by a SOAP Binding implementation are added.
knownHeaders - Set of headers that this binding understands
Returns:
returns the headers that have mustUnderstand attribute and are not understood by the binding.

createMUSOAPFaultException

final javax.xml.ws.soap.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