|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Message
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Field Summary | |
|---|---|
static String |
CONTENT_TYPE
|
| Method Summary | ||
|---|---|---|
|
get(Class<T> key)
Convenience method for storing/retrieving typed objects from the map. |
|
Map<String,DataHandler> |
getAttachments()
Acces to attachments |
|
|
getContent(Class<T> format)
Retreive the encapsulated content as a particular type (a result type if message is outbound, a source type if message is inbound) |
|
Map<QName,DocumentFragment> |
getSoapHeaders()
Access to soap headers |
|
Map<String,String> |
getTransportHeaders()
Access to the transport level headers |
|
|
put(Class<T> key,
T value)
Convenience method for storing/retrieving typed objects from the map. |
|
|
setContent(Class<T> format,
Object content)
Provide the encapsulated content as a particular type (a result type if message is outbound, a source type if message is inbound) |
|
| Methods inherited from interface java.util.Map |
|---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Field Detail |
|---|
static final String CONTENT_TYPE
| Method Detail |
|---|
Map<String,DataHandler> getAttachments()
<T> T getContent(Class<T> format)
format - the expected content format
<T> void setContent(Class<T> format,
Object content)
format - the provided content formatcontent - the content to be encapsulated<T> T get(Class<T> key)
T - key
<T> void put(Class<T> key,
T value)
T - keyMap<String,String> getTransportHeaders()
Map<QName,DocumentFragment> getSoapHeaders()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||