Interface Response

    • Method Detail

      • commit

        void commit​(Activity activity)
        The result of the activity is processed into a specific response form and then sent to the client.
        Parameters:
        activity - the current Activity
        Throws:
        ResponseException - the response exception
      • getResponseType

        ResponseType getResponseType()
        Gets the response type.
        Returns:
        the response type
      • getContentType

        java.lang.String getContentType()
        Gets the content type.
        Returns:
        the content type
      • getContentType

        java.lang.String getContentType​(Activity activity)
        Gets the content type.
        Parameters:
        activity - the current activity
        Returns:
        the content type