@Consumes(value="application/json") @Produces(value="application/json") public abstract class JsonRestService extends RestService<JSONObject>
Constructor and Description |
---|
JsonRestService() |
Modifier and Type | Method and Description |
---|---|
JSONObject |
getBody(java.lang.String text) |
java.lang.String |
getText(JSONObject json,
int prettyIndent) |
authorize, delete, get, getRolesAllowedAccess, initialize, isAuthenticationRequired, patch, post, put, service
public JSONObject getBody(java.lang.String text) throws ServiceException
getBody
in class RestService<JSONObject>
ServiceException
public java.lang.String getText(JSONObject json, int prettyIndent)
getText
in class RestService<JSONObject>
prettyIndent
- zero means no pretty printCopyright © 2018