public class Response extends Object
| Constructor and Description |
|---|
Response() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBinaryResponse(String mime) |
void |
addJSONResponse(org.json.JSONObject schema) |
void |
addResponse(String mime,
org.json.JSONObject schema) |
void |
addTextResponse() |
static Response |
jsonResponse(org.json.JSONObject schema) |
org.json.JSONObject |
toJSON() |
public static Response jsonResponse(org.json.JSONObject schema)
public org.json.JSONObject toJSON()
public void addResponse(String mime, org.json.JSONObject schema)
public void addJSONResponse(org.json.JSONObject schema)
public void addTextResponse()
public void addBinaryResponse(String mime)
Copyright © 2020 Software Atelier Kamber. All rights reserved.