|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object weblogic.wsee.message.soap.SoapMsgHeaders
public class SoapMsgHeaders
SOAP-specific processing for message headers
Constructor Summary | |
---|---|
SoapMsgHeaders(Element headerElt)
Creates a new set of SOAPMsgHeaders |
|
SoapMsgHeaders(SOAPMessage message)
Creates a new set of SOAPMsgHeaders |
Method Summary | |
---|---|
void |
addHeader(MsgHeader msgHeader)
Adds a new header. |
void |
addHeaders(NodeList headers)
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)
|
MsgHeader |
getHeader(MsgHeaderType type)
Gets a message header |
boolean |
getMustUnderstand(Element elem)
|
boolean |
isEmpty()
Determines whether the set of message headers is empty |
Iterator |
listHeaders()
Lists the message headers |
void |
replaceHeader(MsgHeader msgHeader)
|
void |
setActor(Element elem,
String actor)
|
void |
setMustUnderstand(Element elem,
boolean b)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SoapMsgHeaders(Element headerElt) throws MsgHeaderException
headerElt
- The element to contain the headers
MsgHeaderException
public SoapMsgHeaders(SOAPMessage message) throws MsgHeaderException
message
-
MsgHeaderException
Method Detail |
---|
public MsgHeader getHeader(MsgHeaderType type) throws MsgHeaderException
getHeader
in interface MsgHeaders
type
- The type of message header
MsgHeaderException
public void addHeader(MsgHeader msgHeader) throws MsgHeaderException
MsgHeader
object will not
affect the header as it appears in the message.
addHeader
in interface MsgHeaders
msgHeader
- The header to add
MsgHeaderException
public void replaceHeader(MsgHeader msgHeader) throws MsgHeaderException
MsgHeaderException
public void addHeaders(NodeList headers) throws MsgHeaderException
addHeaders
in interface MsgHeaders
headers
- The serialized headers
MsgHeaderException
public boolean isEmpty()
isEmpty
in interface MsgHeaders
public Iterator listHeaders()
listHeaders
in interface MsgHeaders
public boolean getMustUnderstand(Element elem)
public void setMustUnderstand(Element elem, boolean b)
public String getActor(Element elem)
public void setActor(Element elem, String actor)
|
Copyright 1996, 2013, 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.2) Part Number E27170-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |