@Produces(value="application/json") public class JsonNodeService extends RestService<com.fasterxml.jackson.databind.JsonNode>
Constructor and Description |
---|
JsonNodeService() |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
getBody(java.lang.String text) |
java.lang.String |
getText(com.fasterxml.jackson.databind.JsonNode jsonNode,
int prettyIndent) |
authorize, delete, get, getRolesAllowedAccess, initialize, isAuthenticationRequired, patch, post, put, service
public com.fasterxml.jackson.databind.JsonNode getBody(java.lang.String text) throws ServiceException
getBody
in class RestService<com.fasterxml.jackson.databind.JsonNode>
ServiceException
public java.lang.String getText(com.fasterxml.jackson.databind.JsonNode jsonNode, int prettyIndent) throws ServiceException
getText
in class RestService<com.fasterxml.jackson.databind.JsonNode>
prettyIndent
- zero means no pretty printServiceException
Copyright © 2018