public class JsonStreamFormatter extends Object implements org.apache.axis2.transport.MessageFormatter
Constructor and Description |
---|
JsonStreamFormatter() |
Modifier and Type | Method and Description |
---|---|
String |
formatSOAPAction(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat omOutputFormat,
String s) |
byte[] |
getBytes(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat omOutputFormat) |
String |
getContentType(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat omOutputFormat,
String s) |
URL |
getTargetAddress(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat omOutputFormat,
URL url) |
void |
writeTo(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat omOutputFormat,
OutputStream outputStream,
boolean b) |
public JsonStreamFormatter() throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InstantiationException, IOException, XMLStreamException
public byte[] getBytes(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat omOutputFormat) throws org.apache.axis2.AxisFault
getBytes
in interface org.apache.axis2.transport.MessageFormatter
org.apache.axis2.AxisFault
public void writeTo(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat omOutputFormat, OutputStream outputStream, boolean b) throws org.apache.axis2.AxisFault
writeTo
in interface org.apache.axis2.transport.MessageFormatter
org.apache.axis2.AxisFault
public String getContentType(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat omOutputFormat, String s)
getContentType
in interface org.apache.axis2.transport.MessageFormatter
public URL getTargetAddress(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat omOutputFormat, URL url) throws org.apache.axis2.AxisFault
getTargetAddress
in interface org.apache.axis2.transport.MessageFormatter
org.apache.axis2.AxisFault
Copyright © 2020 WSO2. All rights reserved.