Home » synapse-1.2-src » org.apache.synapse.util » [javadoc | source]
public class: SynapseBinaryDataSource [javadoc | source]

All Implemented Interfaces:

DataSource which will be used to pass the Hessian messages in to SOAP body within axis2/synapse
 public SynapseBinaryDataSource(InputStream inputstream,
    String contentType) throws IOException 
    Constructs the HessianDataSource from the given InputStream. Inside the HessianDataSource, data is stored in a byte[] or in a temp file format inorder to be able to get the stream any number of time, otherwise the stream can only be read once
    inputstream - contains the Hessian message for later retrieval
    contentType - message content type
    IOException - failure in reading from the InputStream
 public SynapseBinaryDataSource(InputStream inputstream,
    String contentType,
    SynapseEnvironment synEnv) throws IOException 
Method from org.apache.synapse.util.SynapseBinaryDataSource Summary:
getContentType,   getInputStream,   getName,   getOutputStream
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.synapse.util.SynapseBinaryDataSource Detail:
 public String getContentType() 
 public InputStream getInputStream() throws IOException 
 public String getName() 
 public OutputStream getOutputStream() throws IOException