net.sourceforge.taverna.io
Class PostStreamTransmitter

java.lang.Object
  extended by net.sourceforge.taverna.io.AbstractStreamTransmitter
      extended by net.sourceforge.taverna.io.PostStreamTransmitter
All Implemented Interfaces:
StreamTransmitter

public class PostStreamTransmitter
extends AbstractStreamTransmitter

This class uses an HTTP POST method to transmit data to a URL, and to return the results in a map. Last edited by $Author: sowen70 $

Version:
$Revision: 1.3 $
Author:
Mark

Constructor Summary
PostStreamTransmitter()
           
 
Method Summary
 java.util.Map transmit(java.util.Map map, StreamProcessor streamProcessor)
          This method takes a reflectable object and transmits it to a service
 
Methods inherited from class net.sourceforge.taverna.io.AbstractStreamTransmitter
setAuthentication, setContext, setHost, setMimeHeader, setPort, setServiceName, setURL
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostStreamTransmitter

public PostStreamTransmitter()
Method Detail

transmit

public java.util.Map transmit(java.util.Map map,
                              StreamProcessor streamProcessor)
                       throws TransmitterException
Description copied from interface: StreamTransmitter
This method takes a reflectable object and transmits it to a service

Specified by:
transmit in interface StreamTransmitter
Specified by:
transmit in class AbstractStreamTransmitter
Parameters:
map - A map object (either HashTable or HashMap) containing the parameter names(keys) and parameter values to be transmitted.
Throws:
TransmitterException
See Also:
com.kymerix.reflector.StreamTransmitter#transmit(java.util.HashMap, com.kymerix.reflector.StreamProcessor)