Class Response
java.lang.Object
ch.software_atelier.simpleflex.rest.swagger.Response
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBinaryResponse(String mime) voidaddJSONResponse(org.json.JSONObject schema) voidaddResponse(String mime, org.json.JSONObject schema) voidstatic ResponsejsonResponse(org.json.JSONObject schema) org.json.JSONObjecttoJSON()
-
Constructor Details
-
Response
public Response()
-
-
Method Details
-
jsonResponse
-
toJSON
public org.json.JSONObject toJSON() -
addResponse
-
addJSONResponse
public void addJSONResponse(org.json.JSONObject schema) -
addTextResponse
public void addTextResponse() -
addBinaryResponse
-