Code example for HttpRequestBase

Methods: abort

0
	} 
	 
	public void stopLoading() { 
		Log.i(TAG, "Stopping loading");
		if (activeRequest != null) {
			activeRequest.abort();
		} 
	} 
	 
	private HttpResponse executeRequest(HttpRequestBase request) throws IOException, ClientProtocolException {
		activeRequest = request;
		return client.execute(request);
	} 
 
	static class GzipDecompressingEntity extends HttpEntityWrapper {
 
        public GzipDecompressingEntity(final HttpEntity entity) {
            super(entity);
        } 
     
        @Override