Code example for HttpUriRequest

Methods: getMethod, getURI

0
        } 
 
        @Override 
        public HttpResponse call() throws Exception {
            Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);
            Log.d(TAG, this.request.getMethod() + " " + this.request.getURI().toString());
            return HttpClient.this.client.execute(this.request);
        } 
    } 
 
    static class BetableThreadFactory implements ThreadFactory {
        @Override 
        public Thread newThread(Runnable runnable) {
            return new Thread(runnable);
        } 
    } 
 
    static class BetableFutureTask extends FutureTask<HttpResponse> {
 
        final Handler handler;
        final int requestType;