| Package | Description |
|---|---|
| com.github.jasminb.jsonapi | |
| com.github.jasminb.jsonapi.exceptions |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Errors> |
ErrorUtils.parseError(com.fasterxml.jackson.databind.ObjectMapper mapper,
InputStream errorResponse,
Class<T> cls) |
static <T extends Errors> |
ErrorUtils.parseError(com.fasterxml.jackson.databind.ObjectMapper mapper,
com.fasterxml.jackson.databind.JsonNode errorResponse,
Class<T> cls)
Parses provided JsonNode and returns it as T.
|
static <T extends Errors> |
ErrorUtils.parseErrorResponse(com.fasterxml.jackson.databind.ObjectMapper mapper,
okhttp3.ResponseBody errorResponse,
Class<T> cls)
Parses provided ResponseBody and returns it as T.
|
| Modifier and Type | Method and Description |
|---|---|
Errors |
ResourceParseException.getErrors()
Returns Errors or
null |
| Constructor and Description |
|---|
ResourceParseException(Errors errors) |
Copyright © 2017. All rights reserved.