src/main/java/com/hp/autonomy/hod/client/config/ResponseParser.java
<T> T unsafeParseResponse(final TokenProxy<?, ?> tokenProxy, final JavaType type, final Response response) {
        checkRefresh(tokenProxy, response);

        try {
            return objectMapper.readValue(response.getBody().in(), type);
        } catch (final IOException e) {
            throw new RuntimeException(e);
        }
    }
<T> T unsafeParseResponse(final TokenProxy<?, ?> tokenProxy, final JavaType type, final Response response) {
        checkRefresh(tokenProxy, response);

        try {
            return objectMapper.readValue(response.getBody().in(), type);
        } catch (final IOException e) {
            throw new RuntimeException(e);
        }
    }
Parse the response into a type represented by the JavaType object. Checks for a refreshed token and updates
the token repository accordingly. This method does not guarantee that the type parameter T represents the given
JavaType. If possible, use one of the safe parseResponse methods instead.
@param <T> The desired type of the response body
@param tokenProxy The token proxy to update in the token repository if required
@param type A JavaType representing the desired type of the response body
@param response The response to parse
@return An object representing the result from HP Haven OnDemand