| |
|
| org.apache.cxf.message.Message
All known Subclasses: org.apache.cxf.message.MessageImpl, org.apache.cxf.message.AbstractWrappedMessage,
ASYNC_POST_RESPONSE_DISPATCH | String ASYNC_POST_RESPONSE_DISPATCH(Code) | | |
DECOUPLED_CHANNEL_MESSAGE | String DECOUPLED_CHANNEL_MESSAGE(Code) | | |
FAULT_STACKTRACE_ENABLED | String FAULT_STACKTRACE_ENABLED(Code) | | |
PARTIAL_RESPONSE_MESSAGE | String PARTIAL_RESPONSE_MESSAGE(Code) | | |
SCHEMA_VALIDATION_ENABLED | String SCHEMA_VALIDATION_ENABLED(Code) | | |
getContent | T getContent(Class<T> format)(Code) | | Retrieve the encapsulated content as a particular type (a result type
if message is outbound, a source type if message is inbound)
Parameters: format - the expected content format the encapsulated content |
getContentFormats | Set<Class<?>> getContentFormats()(Code) | | the set of currently encapsulated content formats |
getDestination | Destination getDestination()(Code) | | the associated Destination if message is inbound, null otherwise |
removeContent | void removeContent(Class<T> format)(Code) | | Removes a content from a message. If some contents are completely consumed,
removing them is a good idea
Parameters: format - the format to remove |
setContent | void setContent(Class<T> format, Object content)(Code) | | Provide the encapsulated content as a particular type (a result type
if message is outbound, a source type if message is inbound)
Parameters: format - the provided content format Parameters: content - the content to be encapsulated |
|
|
|