Class ExpandingMessageFormatter

  • All Implemented Interfaces:
    org.apache.axis2.transport.MessageFormatter

    public class ExpandingMessageFormatter
    extends org.apache.axis2.transport.http.SOAPMessageFormatter
    • 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)  
      • Methods inherited from class org.apache.axis2.transport.http.SOAPMessageFormatter

        formatSOAPAction
    • Constructor Detail

      • ExpandingMessageFormatter

        public ExpandingMessageFormatter()
    • 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 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