Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.wsee.message.soap
Class SoapMsgHeaders

java.lang.Object
  extended by weblogic.wsee.message.soap.SoapMsgHeaders
All Implemented Interfaces:
MsgHeaders

Deprecated.

public class SoapMsgHeaders
extends Object
implements MsgHeaders

SOAP-specific processing for message headers


Constructor Summary
SoapMsgHeaders(Element headerElt)
          Deprecated. Creates a new set of SOAPMsgHeaders
SoapMsgHeaders(SOAPMessage message)
          Deprecated. Creates a new set of SOAPMsgHeaders
 
Method Summary
 void addHeader(MsgHeader msgHeader)
          Deprecated. Adds a new header.
 void addHeaders(NodeList headers)
          Deprecated. Adds a bunch of headers in already serialized form REVIEW mmihic Not sure if I like this method since it assumes XML serialization
 String getActor(Element elem)
          Deprecated.  
 MsgHeader getHeader(MsgHeaderType type)
          Deprecated. Gets a message header
 boolean getMustUnderstand(Element elem)
          Deprecated.  
 boolean isEmpty()
          Deprecated. Determines whether the set of message headers is empty
 Iterator listHeaders()
          Deprecated. Lists the message headers
 void replaceHeader(MsgHeader msgHeader)
          Deprecated.  
 void setActor(Element elem, String actor)
          Deprecated.  
 void setMustUnderstand(Element elem, boolean b)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapMsgHeaders

public SoapMsgHeaders(Element headerElt)
               throws MsgHeaderException
Deprecated. 
Creates a new set of SOAPMsgHeaders

Parameters:
headerElt - The element to contain the headers
Throws:
MsgHeaderException

SoapMsgHeaders

public SoapMsgHeaders(SOAPMessage message)
               throws MsgHeaderException
Deprecated. 
Creates a new set of SOAPMsgHeaders

Parameters:
message -
Throws:
MsgHeaderException
Method Detail

getHeader

public MsgHeader getHeader(MsgHeaderType type)
                    throws MsgHeaderException
Deprecated. 
Gets a message header

Specified by:
getHeader in interface MsgHeaders
Parameters:
type - The type of message header
Returns:
The MsgHeader matching that QName, or null if no such header exists
Throws:
MsgHeaderException

addHeader

public void addHeader(MsgHeader msgHeader)
               throws MsgHeaderException
Deprecated. 
Adds a new header. The header is actually converted into XML at this point, so subsequent changes to the MsgHeader object will not affect the header as it appears in the message.

Specified by:
addHeader in interface MsgHeaders
Parameters:
msgHeader - The header to add
Throws:
MsgHeaderException

replaceHeader

public void replaceHeader(MsgHeader msgHeader)
                   throws MsgHeaderException
Deprecated. 
Throws:
MsgHeaderException

addHeaders

public void addHeaders(NodeList headers)
                throws MsgHeaderException
Deprecated. 
Adds a bunch of headers in already serialized form REVIEW mmihic Not sure if I like this method since it assumes XML serialization

Specified by:
addHeaders in interface MsgHeaders
Parameters:
headers - The serialized headers
Throws:
MsgHeaderException

isEmpty

public boolean isEmpty()
Deprecated. 
Determines whether the set of message headers is empty

Specified by:
isEmpty in interface MsgHeaders
Returns:
true if there are not message headers

listHeaders

public Iterator listHeaders()
Deprecated. 
Lists the message headers

Specified by:
listHeaders in interface MsgHeaders
Returns:
An Iterator over the set of message headers

getMustUnderstand

public boolean getMustUnderstand(Element elem)
Deprecated. 

setMustUnderstand

public void setMustUnderstand(Element elem,
                              boolean b)
Deprecated. 

getActor

public String getActor(Element elem)
Deprecated. 

setActor

public void setActor(Element elem,
                     String actor)
Deprecated. 

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02