Class JSONResponse
java.lang.Object
it.uniroma2.art.semanticturkey.servlet.JSONResponse
- All Implemented Interfaces:
Response
- Direct Known Subclasses:
JSONResponseProblem
,JSONResponseREPLY
Defines a JSON realization for Response interface
-
Method Summary
-
Method Details
-
getResponseObject
public org.json.JSONObject getResponseObject()- Specified by:
getResponseObject
in interfaceResponse
-
getResponseContent
- Specified by:
getResponseContent
in interfaceResponse
-
toString
-
getXMLObject
- Throws:
org.json.JSONException
-
isAffirmative
public abstract boolean isAffirmative()- Specified by:
isAffirmative
in interfaceResponse
-