Package org.apache.axis2.fastinfoset
Class FastInfosetMessageFormatter
- java.lang.Object
-
- org.apache.axis2.fastinfoset.FastInfosetMessageFormatter
-
- All Implemented Interfaces:
org.apache.axis2.kernel.MessageFormatter
public class FastInfosetMessageFormatter extends Object implements org.apache.axis2.kernel.MessageFormatter
-
-
Constructor Summary
Constructors Constructor Description FastInfosetMessageFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringformatSOAPAction(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)Fast Infoset message formatter doesn't need to handle SOAP.StringgetContentType(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)Returns the content typeURLgetTargetAddress(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.voidwriteTo(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, OutputStream outputStream, boolean preserve)Write the SOAP envelop to the given OutputStream.
-
-
-
Method Detail
-
formatSOAPAction
public 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. Hence do nothing.- Specified by:
formatSOAPActionin interfaceorg.apache.axis2.kernel.MessageFormatter- See Also:
MessageFormatter.formatSOAPAction(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.lang.String)
-
getContentType
public String getContentType(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)
Returns the content type- Specified by:
getContentTypein interfaceorg.apache.axis2.kernel.MessageFormatter- See Also:
MessageFormatter.getContentType(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.lang.String)
-
getTargetAddress
public URL getTargetAddress(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, URL targetURL) throws org.apache.axis2.AxisFault
Returns the target address to send the response FIXME This is very HTTP specific. What about other transport?- Specified by:
getTargetAddressin interfaceorg.apache.axis2.kernel.MessageFormatter- Throws:
org.apache.axis2.AxisFault- See Also:
MessageFormatter.getTargetAddress(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.net.URL)
-
writeTo
public void writeTo(org.apache.axis2.context.MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, OutputStream outputStream, boolean preserve) throws org.apache.axis2.AxisFaultWrite the SOAP envelop to the given OutputStream.- Specified by:
writeToin interfaceorg.apache.axis2.kernel.MessageFormatter- Throws:
org.apache.axis2.AxisFault- See Also:
MessageFormatter.writeTo(org.apache.axis2.context.MessageContext, org.apache.axiom.om.OMOutputFormat, java.io.OutputStream, boolean)
-
-