Package org.apache.axis2.format
Interface MessageFormatterEx
- All Superinterfaces:
MessageFormatter
- All Known Implementing Classes:
BinaryFormatter,MessageFormatterExAdapter,PlainTextFormatter
Message formatter with extended capabilities.
This interface adds new methods to the
MessageFormatter
interface, allowing transport to optimize data transfers.-
Method Summary
Modifier and TypeMethodDescriptiongetDataSource(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction) Get the formatted message as aDataSourceobject.Methods inherited from interface org.apache.axis2.transport.MessageFormatter
formatSOAPAction, getBytes, getContentType, getTargetAddress, writeTo
-
Method Details
-
getDataSource
DataSource getDataSource(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction) throws AxisFault Get the formatted message as aDataSourceobject.- Parameters:
messageContext-format-soapAction-- Returns:
- Throws:
AxisFault
-