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
JSON Transform Response converts the response data to JSON and outputs it. Created: 2008. 03. 22 PM 5:51:58
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCALLBACK_PARAM_NAMEstatic java.lang.StringROUND_BRACKET_CLOSEstatic java.lang.StringROUND_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 Responsereplicate()Replicates and returns this response.protected voidtransform(Activity activity)-
Methods inherited from class com.aspectran.core.activity.response.transform.TransformResponse
commit, getContentType, getFormatType, getResponseType, getTransformRule, 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
-
-
Method Detail
-
transform
protected void transform(Activity activity) throws java.lang.Exception
- Specified by:
transformin classTransformResponse- Throws:
java.lang.Exception
-
-