src/main/java/com/hp/autonomy/hod/client/config/Requester.java
public <U, BE extends EntityType, BT extends TokenType> U makeRequest(
        final TokenProxy<BE, BT> tokenProxy,
        final Class<U> returnType,
        final BackendCaller<? super BE, ? super BT> backendCaller
    ) throws HodErrorException {
        return responseParser.parseResponse(tokenProxy, returnType, backendCaller.makeRequest(getAuthenticationToken(tokenProxy)));
    }
public <U, BE extends EntityType, BT extends TokenType> U makeRequest(
        final TokenProxy<BE, BT> tokenProxy,
        final Class<U> returnType,
        final BackendCaller<? super BE, ? super BT> backendCaller
    ) throws HodErrorException {
        return responseParser.parseResponse(tokenProxy, returnType, backendCaller.makeRequest(getAuthenticationToken(tokenProxy)));
    }
public < U , BE extends EntityType , BT extends TokenType > U makeRequest ( final TokenProxy < BE , BT > tokenProxy , final Class < U > returnType , final BackendCaller < ? super BE , ? super BT > backendCaller ) throws HodErrorException { return responseParser . parseResponse ( tokenProxy , returnType , backendCaller . makeRequest ( getAuthenticationToken ( tokenProxy ) ) ) ; }
Makes a request to HP Haven OnDemand, converting the response body to the type specified by the Class object.
@param tokenProxy The token proxy to use to make the request
@param returnType The desired type of the value returned by HP Haven OnDemand
@param backendCaller Makes the request to HP Haven OnDemand
@param <U> The desired type of the value returned by HP Haven OnDemand
@param <BE> The entity type of the token proxy
@param <BT> The token type of the token proxy
@return An object representing the output from HP Haven OnDemand
@throws HodErrorException
Makes a request to HP Haven OnDemand converting the response body to the type specified by the Class object .