Class JsonRequest<T>

  • Type Parameters:
    T - Type inside request
    All Implemented Interfaces:
    Serializable

    public class JsonRequest<T>
    extends Object
    implements Serializable
    This class represents a common format set for the request body sent from the client. Getters and setters encapsulate the fields of a class by making them accessible only through its public methods and keep the values themselves private.
    See Also:
    Serialized Form
    • Constructor Detail

      • JsonRequest

        public JsonRequest()
    • Method Detail

      • getRequestId

        public String getRequestId()
      • setRequestId

        public void setRequestId​(String requestId)
      • getBody

        public T getBody()
      • setBody

        public void setBody​(T body)
      • getRequestFrom

        public String getRequestFrom()
      • setRequestFrom

        public void setRequestFrom​(String requestFrom)