Class HessianMessageBuilder
- java.lang.Object
-
- org.apache.synapse.format.hessian.HessianMessageBuilder
-
- All Implemented Interfaces:
org.apache.axis2.builder.Builder
public class HessianMessageBuilder extends Object implements org.apache.axis2.builder.Builder
Enables a message encoded using the Hessian binary protocol to be received by axis2/synapse and this builds the HessianDataSource to represent the hessian message inside the SOAP info-set- See Also:
Builder
,SynapseBinaryDataSource
-
-
Constructor Summary
Constructors Constructor Description HessianMessageBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.axiom.om.OMElement
processDocument(InputStream inputStream, String contentType, org.apache.axis2.context.MessageContext messageContext)
Returns an OMElement from a Hessian encoded message
-
-
-
Method Detail
-
processDocument
public org.apache.axiom.om.OMElement processDocument(InputStream inputStream, String contentType, org.apache.axis2.context.MessageContext messageContext) throws org.apache.axis2.AxisFault
Returns an OMElement from a Hessian encoded message- Specified by:
processDocument
in interfaceorg.apache.axis2.builder.Builder
- Parameters:
inputStream
- stream containing the Hessian message to be builtcontentType
- content type of the messagemessageContext
- message to which the hessian message has to be attached- Returns:
- OMElement containing Hessian data handler keeping the message
- Throws:
org.apache.axis2.AxisFault
- in case of a failure in building the hessian message- See Also:
Builder.processDocument(java.io.InputStream, String, org.apache.axis2.context.MessageContext)
-
-