Class InvocationResponse

java.lang.Object
com.vaadin.swingkit.core.InvocationResponse
All Implemented Interfaces:
Serializable

public class InvocationResponse extends Object implements Serializable
Represents the response from a remote method call between a Swing app and a Vaadin app in a Vaadin panel.
See Also:
  • Constructor Details

    • InvocationResponse

      public InvocationResponse()
  • Method Details

    • getId

      public String getId()
      Get the id of the response, which should match the id of the request.
      Returns:
      the id of the response.
    • setId

      public void setId(String id)
      Set the id of the response, which should match the id of the request.
      Parameters:
      id - the id of the response to set.
    • getClassType

      public String getClassType()
      The fully qualified name of the type of the response. Could be void.
      Returns:
      The fully qualified name of the type of the response or "void" if the method has no return type.
    • setClassType

      public void setClassType(String classType)
      Set the fully qualified name of the type of the response. Could be void.
      Parameters:
      classType - the fully qualified name of the type of the response or "void" if the method has no return type.
    • getData

      public Object getData()
      Get the actual response data. It is the return value of the method called.
      Returns:
      the actual response data.
    • setData

      public void setData(Object data)
      Set the response data.
      Parameters:
      data - the response data.
    • toString

      public String toString()
      Overrides:
      toString in class Object