public class FastInfosetMessageFormatter extends Object implements org.apache.axis2.transport.MessageFormatter
| Constructor and Description |
|---|
FastInfosetMessageFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
formatSOAPAction(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction)
Fast Infoset message formatter doesn't need to handle SOAP.
|
byte[] |
getBytes(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format)
Retrieves the raw bytes from the SOAP envelop.
|
String |
getContentType(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction)
Returns the content type
|
URL |
getTargetAddress(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL)
Returns the target address to send the response
FIXME This is very HTTP specific.
|
void |
writeTo(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve)
Write the SOAP envelop to the given OutputStream.
|
public String formatSOAPAction(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)
formatSOAPAction in interface org.apache.axis2.transport.MessageFormatterMessageFormatter.formatSOAPAction(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.lang.String)public byte[] getBytes(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format)
throws org.apache.axis2.AxisFault
getBytes in interface org.apache.axis2.transport.MessageFormatterorg.apache.axis2.AxisFaultMessageFormatter.getBytes(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat)public String getContentType(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)
getContentType in interface org.apache.axis2.transport.MessageFormatterMessageFormatter.getContentType(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.lang.String)public URL getTargetAddress(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, URL targetURL) throws org.apache.axis2.AxisFault
getTargetAddress in interface org.apache.axis2.transport.MessageFormatterorg.apache.axis2.AxisFaultMessageFormatter.getTargetAddress(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.net.URL)public void writeTo(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve)
throws org.apache.axis2.AxisFault
writeTo in interface org.apache.axis2.transport.MessageFormatterorg.apache.axis2.AxisFaultMessageFormatter.writeTo(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.io.OutputStream, boolean)Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.