com.kremerk.commandprocessor.response
Class JsonResponse
java.lang.Object
com.kremerk.commandprocessor.response.JsonResponse
- All Implemented Interfaces:
- Response
public class JsonResponse
- extends java.lang.Object
- implements Response
Constructor Summary |
JsonResponse(int status,
java.lang.String message,
org.json.JSONArray data)
|
JsonResponse(org.json.JSONArray data)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonResponse
public JsonResponse(org.json.JSONArray data)
JsonResponse
public JsonResponse(int status,
java.lang.String message,
org.json.JSONArray data)
getResponse
public java.lang.String getResponse()
- Specified by:
getResponse
in interface Response
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interface Response