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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    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)
     
    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)
     

    Methods inherited from class org.apache.axis2.transport.http.SOAPMessageFormatter

    formatSOAPAction

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getBytes in interface org.apache.axis2.transport.MessageFormatter
      Overrides:
      getBytes in class org.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 interface org.apache.axis2.transport.MessageFormatter
      Overrides:
      getContentType in class org.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 interface org.apache.axis2.transport.MessageFormatter
      Overrides:
      writeTo in class org.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 interface org.apache.axis2.transport.MessageFormatter
      Overrides:
      getTargetAddress in class org.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