org.apache.synapse.format.hessian
Class HessianMessageBuilder

java.lang.Object
  extended by org.apache.synapse.format.hessian.HessianMessageBuilder
All Implemented Interfaces:
Builder

public class HessianMessageBuilder
extends Object
implements 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
HessianMessageBuilder()
           
 
Method Summary
 OMElement processDocument(InputStream inputStream, String contentType, MessageContext messageContext)
          Returns an OMElement from a Hessian encoded message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HessianMessageBuilder

public HessianMessageBuilder()
Method Detail

processDocument

public OMElement processDocument(InputStream inputStream,
                                 String contentType,
                                 MessageContext messageContext)
                          throws AxisFault
Returns an OMElement from a Hessian encoded message

Specified by:
processDocument in interface Builder
Parameters:
inputStream - stream containing the Hessian message to be built
contentType - content type of the message
messageContext - message to which the hessian message has to be attached
Returns:
OMElement containing Hessian data handler keeping the message
Throws:
AxisFault - in case of a failure in building the hessian message
See Also:
Builder.processDocument(java.io.InputStream, String, org.apache.axis2.context.MessageContext)


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.