net.sf.xbus.technical.http
Class HTTPByteArrayListSender

java.lang.Object
  extended by net.sf.xbus.technical.http.HTTPSender
      extended by net.sf.xbus.technical.http.HTTPByteArrayListSender
All Implemented Interfaces:
ObjectSender, Sender, TextSender

public class HTTPByteArrayListSender
extends HTTPSender
implements Sender, ObjectSender

The HTTPByteArrayListSender sends a ByteArrayList in the form of a String to an URL.


Constructor Summary
HTTPByteArrayListSender(XBUSSystem destination)
           
 
Method Summary
 java.lang.Object execute(java.lang.String function, java.lang.Object callData)
          Sends the callData to the system.
 java.lang.String getType()
          A Sender can send data either as a String or as an Object to the neighboring system.
 
Methods inherited from class net.sf.xbus.technical.http.HTTPSender
execute, initialize, sendMessage, setRequestHeaders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPByteArrayListSender

public HTTPByteArrayListSender(XBUSSystem destination)
See Also:
HTTPSender.HTTPSender(XBUSSystem)
Method Detail

execute

public java.lang.Object execute(java.lang.String function,
                                java.lang.Object callData)
                         throws XException
Sends the callData to the system. function is ignored.

Specified by:
execute in interface ObjectSender
Parameters:
function - used by some senders
callData - the data that shall be send to the neighbor system
Returns:
the response of the neighbor system
Throws:
XException - if something goes wrong

getType

public java.lang.String getType()
Description copied from interface: Sender
A Sender can send data either as a String or as an Object to the neighboring system.
When working with Strings the Sender must fulfill two preconditions: When working with Objects the Sender must also fulfill two preconditions:

Specified by:
getType in interface Sender
Overrides:
getType in class HTTPSender
Returns:
Constants.TYPE_OBJECT
See Also:
Sender.getType()