org.apache.synapse.format
Class BinaryBuilder

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

public class BinaryBuilder
extends Object
implements Builder

Message builder for binary payloads.

This builder processes the input message as binary and wraps the data in a wrapper element. The name of the wrapper element can be configured as a service parameter (see BaseConstants.WRAPPER_PARAM). It defaults to BaseConstants.DEFAULT_BINARY_WRAPPER.


Constructor Summary
BinaryBuilder()
           
 
Method Summary
 OMElement processDocument(InputStream inputStream, String contentType, MessageContext msgContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryBuilder

public BinaryBuilder()
Method Detail

processDocument

public OMElement processDocument(InputStream inputStream,
                                 String contentType,
                                 MessageContext msgContext)
                          throws AxisFault
Specified by:
processDocument in interface Builder
Throws:
AxisFault


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