SoapMsgHeaderspublic interface MsgHeaders
| Modifier and Type | Method | Description |
|---|---|---|
void |
addHeader(MsgHeader msgHeader) |
Deprecated.
Adds a new header.
|
void |
addHeaders(org.w3c.dom.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
|
MsgHeader |
getHeader(MsgHeaderType type) |
Deprecated.
Gets a message header
|
boolean |
isEmpty() |
Deprecated.
Determines whether the set of message headers is empty
|
java.util.Iterator |
listHeaders() |
Deprecated.
Lists the message headers
|
MsgHeader getHeader(MsgHeaderType type) throws MsgHeaderException
type - The type of message headerMessageHeaderExceptionMsgHeaderExceptionvoid addHeader(MsgHeader msgHeader) throws MsgHeaderException
MsgHeader object will not
affect the header as it appears in the message.msgHeader - The header to addMsgHeaderExceptionvoid addHeaders(org.w3c.dom.NodeList headers)
throws MsgHeaderException
headers - The serialized headersMsgHeaderExceptionboolean isEmpty()
java.util.Iterator listHeaders()