Package org.wso2.carbon.relay
Class ExpandingMessageFormatter
java.lang.Object
org.apache.axis2.transport.http.SOAPMessageFormatter
org.wso2.carbon.relay.ExpandingMessageFormatter
- All Implemented Interfaces:
org.apache.axis2.transport.MessageFormatter
public class ExpandingMessageFormatter
extends org.apache.axis2.transport.http.SOAPMessageFormatter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format) getContentType(org.apache.axis2.context.MessageContext msgCtxt, org.apache.axiom.om.OMOutputFormat format, String soapActionString) getTargetAddress(org.apache.axis2.context.MessageContext msgCtxt, org.apache.axiom.om.OMOutputFormat format, URL targetURL) voidwriteAsREST(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, OutputStream outputStream, boolean preserve) voidwriteTo(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, OutputStream outputStream, boolean preserve) Methods inherited from class org.apache.axis2.transport.http.SOAPMessageFormatter
formatSOAPAction
-
Constructor Details
-
ExpandingMessageFormatter
public ExpandingMessageFormatter()
-
-
Method Details
-
getBytes
public byte[] getBytes(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format) throws org.apache.axis2.AxisFault - Specified by:
getBytesin interfaceorg.apache.axis2.transport.MessageFormatter- Overrides:
getBytesin classorg.apache.axis2.transport.http.SOAPMessageFormatter- Throws:
org.apache.axis2.AxisFault
-
getContentType
public String getContentType(org.apache.axis2.context.MessageContext msgCtxt, org.apache.axiom.om.OMOutputFormat format, String soapActionString) - Specified by:
getContentTypein interfaceorg.apache.axis2.transport.MessageFormatter- Overrides:
getContentTypein classorg.apache.axis2.transport.http.SOAPMessageFormatter
-
writeTo
public void writeTo(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, OutputStream outputStream, boolean preserve) throws org.apache.axis2.AxisFault - Specified by:
writeToin interfaceorg.apache.axis2.transport.MessageFormatter- Overrides:
writeToin classorg.apache.axis2.transport.http.SOAPMessageFormatter- Throws:
org.apache.axis2.AxisFault
-
getTargetAddress
public URL getTargetAddress(org.apache.axis2.context.MessageContext msgCtxt, org.apache.axiom.om.OMOutputFormat format, URL targetURL) throws org.apache.axis2.AxisFault - Specified by:
getTargetAddressin interfaceorg.apache.axis2.transport.MessageFormatter- Overrides:
getTargetAddressin classorg.apache.axis2.transport.http.SOAPMessageFormatter- Throws:
org.apache.axis2.AxisFault
-
writeAsREST
public void writeAsREST(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, OutputStream outputStream, boolean preserve) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-