Class JsonTransformResponse
- java.lang.Object
-
- com.aspectran.core.activity.response.transform.TransformResponse
-
- com.aspectran.core.activity.response.transform.JsonTransformResponse
-
- All Implemented Interfaces:
Response
,Replicable<Response>
public class JsonTransformResponse extends TransformResponse
Response to transform into JSON. Created: 2008. 03. 22 PM 5:51:58
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CALLBACK_PARAM_NAME
static java.lang.String
ROUND_BRACKET_CLOSE
static java.lang.String
ROUND_BRACKET_OPEN
-
Constructor Summary
Constructors Constructor Description JsonTransformResponse(TransformRule transformRule)
Instantiates a new JsonTransformResponse.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commit(Activity activity)
The result of the activity is processed into a specific response form and then sent to the client.Response
replicate()
Replicates and returns this response.-
Methods inherited from class com.aspectran.core.activity.response.transform.TransformResponse
getContentType, getContentType, getResponseType, getTransformRule, getTransformType, toString
-
-
-
-
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
-
-