org.apache.axis2.format
Interface MessageFormatterEx

All Superinterfaces:
MessageFormatter
All Known Implementing Classes:
BinaryFormatter, MessageFormatterExAdapter, PlainTextFormatter

public interface MessageFormatterEx
extends MessageFormatter

Message formatter with extended capabilities. This interface adds new methods to the MessageFormatter interface, allowing transport to optimize data transfers.


Method Summary
 javax.activation.DataSource getDataSource(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, java.lang.String soapAction)
          Get the formatted message as a DataSource object.
 
Methods inherited from interface org.apache.axis2.transport.MessageFormatter
formatSOAPAction, getBytes, getContentType, getTargetAddress, writeTo
 

Method Detail

getDataSource

javax.activation.DataSource getDataSource(MessageContext messageContext,
                                          org.apache.axiom.om.OMOutputFormat format,
                                          java.lang.String soapAction)
                                          throws AxisFault
Get the formatted message as a DataSource object.

Parameters:
messageContext -
format -
soapAction -
Returns:
Throws:
AxisFault


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.