Class Request

java.lang.Object
net.solarnetwork.domain.Request

public class Request extends Object
A request envelope object.
Version:
1.0
Author:
matt
  • Constructor Details

    • Request

      public Request(String username, String password, Map<String,Object> data)
      Constructor.
      Parameters:
      username - the username
      password - the password
      data - the message data
  • Method Details

    • getUsername

      public String getUsername()
      Get the username.
      Returns:
      the username
    • getPassword

      public String getPassword()
      Get the password.
      Returns:
      the password
    • getData

      public Map<String,Object> getData()
      Get the message data.
      Returns:
      the data