private String executeHttpRequest(HttpUriRequest request) {
        try {
            
            // Attempt to do execute request
            HttpResponse response = httpClient.execute(request);
            
            // Return response if successful
            if (response != null) {
                return EntityUtils.toString(response.getEntity(), "UTF-8");
            }
            
        } catch (UnsupportedEncodingException uee) {
            LOGGER.warn("Unsupported Encoding Exception thrown in request", uee);
        } catch (ClientProtocolException cpe) {
            LOGGER.warn("Client Protocol Exception thrown in request", cpe);
        } catch (IOException ioe) {
            LOGGER.warn("I/O Exception thrown in request", ioe);
        }
        
        return null;
        
    }
private String executeHttpRequest(HttpUriRequest request) {
        try {
            
            
            HttpResponse response = httpClient.execute(request);
            
            
            if (response != null) {
                return EntityUtils.toString(response.getEntity(), "UTF-8");
            }
            
        } catch (UnsupportedEncodingException uee) {
            LOGGER.warn("Unsupported Encoding Exception thrown in request", uee);
        } catch (ClientProtocolException cpe) {
            LOGGER.warn("Client Protocol Exception thrown in request", cpe);
        } catch (IOException ioe) {
            LOGGER.warn("I/O Exception thrown in request", ioe);
        }
        
        return null;
        
    }
private String executeHttpRequest ( HttpUriRequest request ) { try { // Attempt to do execute request HttpResponse response = httpClient . execute ( request ) ; // Return response if successful if ( response != null ) { return EntityUtils . toString ( response . getEntity ( ) , "UTF-8" ) ; } } catch ( UnsupportedEncodingException uee ) { LOGGER . warn ( "Unsupported Encoding Exception thrown in request" , uee ) ; } catch ( ClientProtocolException cpe ) { LOGGER . warn ( "Client Protocol Exception thrown in request" , cpe ) ; } catch ( IOException ioe ) { LOGGER . warn ( "I/O Exception thrown in request" , ioe ) ; } return null ; }
Execute the given HTTP request.

@param request HTTP request

@return Result, <i>null</i> if failed
Execute the given HTTP request .