src/main/java/com/hp/autonomy/hod/client/config/ResponseParser.java
<T> T parseResponse(final TokenProxy<?, ?> tokenProxy, final TypeReference<T> typeReference, final Response response) {
        return unsafeParseResponse(tokenProxy, objectMapper.getTypeFactory().constructType(typeReference), response);
    }
<T> T parseResponse(final TokenProxy<?, ?> tokenProxy, final TypeReference<T> typeReference, final Response response) {
        return unsafeParseResponse(tokenProxy, objectMapper.getTypeFactory().constructType(typeReference), response);
    }
Parse the response into a type represented by the TypeReference 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 typeReference A type reference 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