public class HessianMessageFormatter
extends java.lang.Object
implements org.apache.axis2.transport.MessageFormatter
MessageFormatter,
SynapseBinaryDataSource| Constructor and Description |
|---|
HessianMessageFormatter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
formatSOAPAction(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
Simply returns the soapAction unchanged.
|
byte[] |
getBytes(org.apache.axis2.context.MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format)
This method is not supported because of large file handling limitations
|
java.lang.String |
getContentType(org.apache.axis2.context.MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapActionString)
Formats the content type to be written in to the transport
|
java.net.URL |
getTargetAddress(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.net.URL targetURL) |
void |
writeTo(org.apache.axis2.context.MessageContext msgCtx,
org.apache.axiom.om.OMOutputFormat format,
java.io.OutputStream out,
boolean preserve)
Extract Hessian bytes from the received SOAP message and write it onto the wire
|
public java.lang.String getContentType(org.apache.axis2.context.MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapActionString)
getContentType in interface org.apache.axis2.transport.MessageFormattermsgCtxt - message of which the content type has to be formattedformat - fomat of the expected formatted messagesoapActionString - soap action of the messagepublic void writeTo(org.apache.axis2.context.MessageContext msgCtx,
org.apache.axiom.om.OMOutputFormat format,
java.io.OutputStream out,
boolean preserve)
throws org.apache.axis2.AxisFault
writeTo in interface org.apache.axis2.transport.MessageFormattermsgCtx - message from which the Hessian message has to be extractedformat - message format to be writtenout - stream to which the message is writtenpreserve - whether to preserve the indentationsorg.apache.axis2.AxisFault - in case of a failure in writing the message to the provided streampublic byte[] getBytes(org.apache.axis2.context.MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format)
throws org.apache.axis2.AxisFault
getBytes in interface org.apache.axis2.transport.MessageFormattermsgCtxt - message which contains the Hessian message inside the HessianDataSourceformat - message format to be writtenorg.apache.axis2.AxisFault - for any invocationpublic java.lang.String formatSOAPAction(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
formatSOAPAction in interface org.apache.axis2.transport.MessageFormatterpublic java.net.URL getTargetAddress(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.net.URL targetURL)
throws org.apache.axis2.AxisFault
getTargetAddress in interface org.apache.axis2.transport.MessageFormatterorg.apache.axis2.AxisFaultCopyright © 2005-2022 Apache Software Foundation. All Rights Reserved.