|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.geronimo.messaging.MsgHeader
Msg header.
| Constructor Summary | |
MsgHeader()
|
|
MsgHeader(MsgHeader aHeader)
Prototype. |
|
| Method Summary | |
void |
addHeader(Object aKey,
Object aValue)
Adds an header. |
Object |
getHeader(Object aKey)
Gets a required header. |
Object |
getOptionalHeader(Object aKey)
Gets an optional header. |
void |
readExternal(ObjectInput in)
|
Object |
resetHeader(Object aKey)
Returns the header value and resets it. |
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MsgHeader()
public MsgHeader(MsgHeader aHeader)
aHeader - Header to be duplicated.| Method Detail |
public Object resetHeader(Object aKey)
aKey - Header key.
public void addHeader(Object aKey,
Object aValue)
aKey - Header key.aValue - Header value.public Object getHeader(Object aKey)
aKey - Header key.
IllegalArgumentException - Indicates that the specified header
does not exist.public Object getOptionalHeader(Object aKey)
aKey - Header key.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundExceptionpublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||