public class FastInfosetMessageFormatter extends Object implements MessageFormatter
| Constructor and Description |
|---|
FastInfosetMessageFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction)
Fast Infoset message formatter doesn't need to handle SOAP.
|
byte[] |
getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format)
Retrieves the raw bytes from the SOAP envelop.
|
String |
getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction)
Returns the content type
|
URL |
getTargetAddress(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(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve)
Write the SOAP envelop to the given OutputStream.
|
public String formatSOAPAction(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)
formatSOAPAction in interface MessageFormatterMessageFormatter.formatSOAPAction(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.lang.String)public byte[] getBytes(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format) throws AxisFault
getBytes in interface MessageFormatterAxisFaultMessageFormatter.getBytes(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat)public String getContentType(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)
getContentType in interface MessageFormatterMessageFormatter.getContentType(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.lang.String)public URL getTargetAddress(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, URL targetURL) throws AxisFault
getTargetAddress in interface MessageFormatterAxisFaultMessageFormatter.getTargetAddress(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.net.URL)public void writeTo(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, OutputStream outputStream, boolean preserve) throws AxisFault
writeTo in interface MessageFormatterpreserve - :
do not consume the OM when this is set..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.