Class ExtDirectRequest

java.lang.Object
ch.ralscha.extdirectspring.bean.ExtDirectRequest

public class ExtDirectRequest extends Object
Represents the request of an Ext Direct call. Internal class.
  • Constructor Details

    • ExtDirectRequest

      public ExtDirectRequest()
  • Method Details

    • getAction

      public String getAction()
      Returns:
      name of the spring managed bean
    • setAction

      public void setAction(String action)
    • getData

      public Object getData()
      Returns:
      payload of the request
    • setData

      public void setData(Object data)
    • getMethod

      public String getMethod()
      Returns:
      method name that is member of the spring managed bean
    • setMethod

      public void setMethod(String method)
    • getTid

      public int getTid()
      Returns:
      the transaction ID that is associated with this request. The response has to return the same tid
    • setTid

      public void setTid(int tid)
    • getType

      public String getType()
      Returns:
      the type of the message. "event" for polling or "rpc" for a method call
    • setType

      public void setType(String type)
    • getMetadata

      public Map<String,Object> getMetadata()
      Returns:
      metadata parameters
    • setMetadata

      public void setMetadata(Map<String,Object> metadata)
    • toString

      public String toString()
      Overrides:
      toString in class Object