nyla.solutions.global.data.Envelope Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nyla.solutions.global Show documentation
Show all versions of nyla.solutions.global Show documentation
Nyla Solutions Global Java API provides support for basic application
utilities (application configuration, data encryption, debugger and text
processing).
The newest version!
package nyla.solutions.global.data;
import java.io.Serializable;
import java.util.Map;
/**
* This object encapsulates a request and response.
* @author Gregory Green
*
*/
public class Envelope implements Serializable
{
/**
* Default constructor
*/
public Envelope()
{}
// --------------------------------------------------------
/**
* Default constructor
*/
public Envelope(PayloadType payload)
{
this.payload = payload;
}
// --------------------------------------------------------�
/**
* Create with header and payload
* @param header the envelope header
* @param payload the payload
*/
public Envelope(Map