< prev index next >

src/java.xml.ws/share/classes/javax/xml/soap/SOAPHeader.java

Print this page




 171     public Iterator<SOAPHeaderElement> extractHeaderElements(String actor);
 172 
 173     /**
 174      * Creates a new NotUnderstood {@code SOAPHeaderElement} object initialized
 175      * with the specified name and adds it to this {@code SOAPHeader} object.
 176      * This operation is supported only by SOAP 1.2.
 177      *
 178      * @param name a {@code QName} object with the name of the
 179      *        {@code SOAPHeaderElement} object that was not understood.
 180      * @return the new {@code SOAPHeaderElement} object that was
 181      *          inserted into this {@code SOAPHeader} object
 182      * @exception SOAPException if a SOAP error occurs.
 183      * @exception UnsupportedOperationException if this is a SOAP 1.1 Header.
 184      * @since 1.6, SAAJ 1.3
 185      */
 186     public SOAPHeaderElement addNotUnderstoodHeaderElement(QName name)
 187         throws SOAPException;
 188 
 189     /**
 190      * Creates a new Upgrade {@code SOAPHeaderElement} object initialized
 191      * with the specified String Iterator of supported SOAP URIs and adds
 192      * it to this {@code SOAPHeader} object.
 193      * This operation is supported on both SOAP 1.1 and SOAP 1.2 header.
 194      *
 195      * @param supportedSOAPURIs an URI Strings {@code Iterator} of SOAP
 196      *          versions supported.
 197      * @return the new {@code SOAPHeaderElement} object that was
 198      *          inserted into this {@code SOAPHeader} object
 199      * @exception SOAPException if a SOAP error occurs.
 200      * @since 1.6, SAAJ 1.3
 201      */
 202     public SOAPHeaderElement addUpgradeHeaderElement(Iterator<String> supportedSOAPURIs)
 203         throws SOAPException;
 204 
 205     /**
 206      * Creates a new Upgrade {@code SOAPHeaderElement} object initialized
 207      * with the specified array of supported SOAP URIs and adds it to this
 208      * {@code SOAPHeader} object.
 209      * This operation is supported on both SOAP 1.1 and SOAP 1.2 header.
 210      *
 211      * @param  supportedSoapUris an array of the URIs of SOAP versions supported.
 212      * @return the new {@code SOAPHeaderElement} object that was
 213      *          inserted into this {@code SOAPHeader} object
 214      * @exception SOAPException if a SOAP error occurs.
 215      * @since 1.6, SAAJ 1.3




 171     public Iterator<SOAPHeaderElement> extractHeaderElements(String actor);
 172 
 173     /**
 174      * Creates a new NotUnderstood {@code SOAPHeaderElement} object initialized
 175      * with the specified name and adds it to this {@code SOAPHeader} object.
 176      * This operation is supported only by SOAP 1.2.
 177      *
 178      * @param name a {@code QName} object with the name of the
 179      *        {@code SOAPHeaderElement} object that was not understood.
 180      * @return the new {@code SOAPHeaderElement} object that was
 181      *          inserted into this {@code SOAPHeader} object
 182      * @exception SOAPException if a SOAP error occurs.
 183      * @exception UnsupportedOperationException if this is a SOAP 1.1 Header.
 184      * @since 1.6, SAAJ 1.3
 185      */
 186     public SOAPHeaderElement addNotUnderstoodHeaderElement(QName name)
 187         throws SOAPException;
 188 
 189     /**
 190      * Creates a new Upgrade {@code SOAPHeaderElement} object initialized
 191      * with the specified List of supported SOAP URIs and adds it to this
 192      * {@code SOAPHeader} object.
 193      * This operation is supported on both SOAP 1.1 and SOAP 1.2 header.
 194      *
 195      * @param supportedSOAPURIs an {@code Iterator} object with the URIs of SOAP
 196      *          versions supported.
 197      * @return the new {@code SOAPHeaderElement} object that was
 198      *          inserted into this {@code SOAPHeader} object
 199      * @exception SOAPException if a SOAP error occurs.
 200      * @since 1.6, SAAJ 1.3
 201      */
 202     public SOAPHeaderElement addUpgradeHeaderElement(Iterator<String> supportedSOAPURIs)
 203         throws SOAPException;
 204 
 205     /**
 206      * Creates a new Upgrade {@code SOAPHeaderElement} object initialized
 207      * with the specified array of supported SOAP URIs and adds it to this
 208      * {@code SOAPHeader} object.
 209      * This operation is supported on both SOAP 1.1 and SOAP 1.2 header.
 210      *
 211      * @param  supportedSoapUris an array of the URIs of SOAP versions supported.
 212      * @return the new {@code SOAPHeaderElement} object that was
 213      *          inserted into this {@code SOAPHeader} object
 214      * @exception SOAPException if a SOAP error occurs.
 215      * @since 1.6, SAAJ 1.3


< prev index next >