public class FastInfosetPOXMessageFormatter extends java.lang.Object implements MessageFormatter
| Constructor and Description |
|---|
FastInfosetPOXMessageFormatter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
Plain 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.
|
java.lang.String |
getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
Returns the content type
|
java.net.URL |
getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.net.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,
java.io.OutputStream outputStream,
boolean preserve)
Write the SOAP envelop to the given OutputStream.
|
public java.lang.String formatSOAPAction(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, java.lang.String soapAction)
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 java.lang.String getContentType(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, java.lang.String soapAction)
public java.net.URL getTargetAddress(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, java.net.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, java.io.OutputStream outputStream, boolean preserve) throws AxisFault
writeTo in interface MessageFormatterAxisFaultMessageFormatter.writeTo(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.io.OutputStream, boolean)Copyright © 2004-2017 The Apache Software Foundation. All Rights Reserved.