|
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.MsgHeader
public abstract class MsgHeader
A message header
Constructor Summary | |
---|---|
MsgHeader()
|
Method Summary | |
---|---|
protected void |
addStandardNamespaces(Element element)
Adds standard namespace declarations like xmlns:env and xmlns:wsu. |
protected String |
getCurrentSoapEnvelopeNamespace()
The current SOAP envelope namespace in force during the writeToParent method invocation. |
abstract QName |
getName()
Gets the name of the header |
String |
getRole()
Gets the role targeted by this header. |
abstract MsgHeaderType |
getType()
Gets the type of message header |
boolean |
hasDuplicated()
Has duplicated header or not. |
boolean |
isMultiple()
Determines if this header can appear multiple times in SOAP header. |
boolean |
isMustUnderstand()
Determines if this header must be understood by the received node |
boolean |
isRefParam()
Determines if this header is a reference parameter |
abstract void |
read(Element element)
Reads the header |
void |
setDuplicated(boolean duplicated)
Set duplicated flag marks this header is duplicated, so we can detect it later and throw standard WS-Addressing exception instead of throwing duplicated header exception when parsing headers. |
void |
setMustUnderstand(boolean mustUnderstand)
Marks whether this header must be understood by the receiving node |
void |
setRefParam(boolean refParam)
Marks whether this header is a reference parameter |
void |
setRole(String role)
Sets the role targeted by this header. |
String |
toString()
|
void |
toString(ToStringWriter writer)
|
abstract void |
write(Element element)
Writes the header |
Element |
writeToParent(Element parentElt)
Writes the header |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MsgHeader()
Method Detail |
---|
public abstract MsgHeaderType getType()
public abstract QName getName()
public abstract void read(Element element) throws MsgHeaderException
element
- The XML element containing the header data
MsgHeaderException
public abstract void write(Element element) throws MsgHeaderException
element
- The XML element to contain the header data
MsgHeaderException
public boolean isMultiple()
protected String getCurrentSoapEnvelopeNamespace()
public Element writeToParent(Element parentElt) throws MsgHeaderException
parentElt
- The parent XML element
MsgHeaderException
protected void addStandardNamespaces(Element element)
public void setMustUnderstand(boolean mustUnderstand)
mustUnderstand
- true if this header must be understoodpublic boolean isMustUnderstand()
public void setRefParam(boolean refParam)
refParam
- true if this header is a reference parameterpublic boolean isRefParam()
public void setDuplicated(boolean duplicated)
duplicated
- public boolean hasDuplicated()
public String getRole()
public void setRole(String role)
role
- The role targeted by this headerpublic void toString(ToStringWriter writer)
public String toString()
toString
in class Object
|
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 |