Class JsonTransformResponse

    • Field Detail

      • CALLBACK_PARAM_NAME

        public static final java.lang.String CALLBACK_PARAM_NAME
        See Also:
        Constant Field Values
      • ROUND_BRACKET_OPEN

        public static final java.lang.String ROUND_BRACKET_OPEN
        See Also:
        Constant Field Values
      • ROUND_BRACKET_CLOSE

        public static final java.lang.String ROUND_BRACKET_CLOSE
        See Also:
        Constant Field Values
    • Constructor Detail

      • JsonTransformResponse

        public JsonTransformResponse​(TransformRule transformRule)
        Instantiates a new JsonTransformResponse.
        Parameters:
        transformRule - the transform rule
    • Method Detail

      • commit

        public void commit​(Activity activity)
                    throws ResponseException
        Description copied from interface: Response
        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
      • replicate

        public Response replicate()
        Description copied from interface: Response
        Replicates and returns this response.
        Returns:
        the new response