public class JsonFormatter extends Object implements org.apache.axis2.transport.MessageFormatter
| Constructor and Description |
|---|
JsonFormatter() |
| 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 outMsgCtxt,
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 outMsgCtxt,
org.apache.axiom.om.OMOutputFormat omOutputFormat,
OutputStream outputStream,
boolean b) |
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.MessageFormatterorg.apache.axis2.AxisFaultpublic void writeTo(org.apache.axis2.context.MessageContext outMsgCtxt,
org.apache.axiom.om.OMOutputFormat omOutputFormat,
OutputStream outputStream,
boolean b)
throws org.apache.axis2.AxisFault
writeTo in interface org.apache.axis2.transport.MessageFormatterorg.apache.axis2.AxisFaultpublic String getContentType(org.apache.axis2.context.MessageContext outMsgCtxt, org.apache.axiom.om.OMOutputFormat omOutputFormat, String s)
getContentType in interface org.apache.axis2.transport.MessageFormatterpublic 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.MessageFormatterorg.apache.axis2.AxisFaultCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.