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 Constructor Description ExpandingMessageFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBytes(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format)
String
getContentType(org.apache.axis2.context.MessageContext msgCtxt, org.apache.axiom.om.OMOutputFormat format, String soapActionString)
URL
getTargetAddress(org.apache.axis2.context.MessageContext msgCtxt, org.apache.axiom.om.OMOutputFormat format, URL targetURL)
void
writeAsREST(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, OutputStream outputStream, boolean preserve)
void
writeTo(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, OutputStream outputStream, boolean preserve)
-
-
-
Method Detail
-
getBytes
public byte[] getBytes(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format) throws org.apache.axis2.AxisFault
- Specified by:
getBytes
in interfaceorg.apache.axis2.transport.MessageFormatter
- Overrides:
getBytes
in 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:
getContentType
in interfaceorg.apache.axis2.transport.MessageFormatter
- Overrides:
getContentType
in 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:
writeTo
in interfaceorg.apache.axis2.transport.MessageFormatter
- Overrides:
writeTo
in 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:
getTargetAddress
in interfaceorg.apache.axis2.transport.MessageFormatter
- Overrides:
getTargetAddress
in 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
-
-