class HttpUtil {

    public static <T> T executeGet( final String url, final Class<T> valueType )
    {
        if ( StringUtils.isBlank( url ) || valueType == null )
        {
            logger.warn( "In executeGet, either url is null or blank or value type is null." );
            return null;
        }
        logger.info( "In executeGet, Invoking GET on {}. Response Type: {}", url, valueType.getSimpleName() );
        return HttpUtil.executeGet( url, HttpUtil.getResponseHandler( valueType ), HttpUtil.getHttpClient() );
    }

}