toolbox.web.actions.sync2async
Class Payload

Package class diagram package Payload
java.lang.Object
  extended by toolbox.web.actions.sync2async.Payload

public class Payload
extends java.lang.Object

Simple bean that represents the payload that will be used by the sync2async action implementation to construct the asynchronous message.


Constructor Summary
Payload()
          Default constructor.
 
Method Summary
 java.lang.String getBody()
          Return the payload body.
 java.util.Map getProperties()
          Return the payload properties.
 void setBody(java.lang.String body)
          Set the body of the payload.
 void setProperties(java.util.Map props)
          Set the property map of the payload.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Payload

public Payload()
Default constructor.

Method Detail

setBody

public void setBody(java.lang.String body)
Set the body of the payload.

Parameters:
body - String instance containing the payload body.

setProperties

public void setProperties(java.util.Map props)
Set the property map of the payload. These properties will be set on the asynchronous message.

Parameters:
props - Map instance containing the payload properties.

getBody

public java.lang.String getBody()
Return the payload body.

Returns:
String instance containing the payload body.

getProperties

public java.util.Map getProperties()
Return the payload properties.

Returns:
Map instance containing the payload properties.