src/main/java/com/hp/autonomy/hod/client/config/ResponseParser.java
<T> T parseResponse(final TokenProxy<?, ?> tokenProxy, final Class<T> clazz, final Response response) {
        return unsafeParseResponse(tokenProxy, objectMapper.constructType(clazz), response);
    }
<T> T parseResponse(final TokenProxy<?, ?> tokenProxy, final Class<T> clazz, final Response response) {
        return unsafeParseResponse(tokenProxy, objectMapper.constructType(clazz), response);
    }
Parse the response into a type represented by the Class object. Checks for a refreshed token and updates the token
repository accordingly.
@param <T> The desired type of the response body
@param tokenProxy The token proxy to update in the token repository if required
@param clazz A class object representing the desired type of the response body
@param response The response to parse
@return An object representing the result from HP Haven OnDemand