Return-Path: Delivered-To: apmail-hc-commits-archive@www.apache.org Received: (qmail 54673 invoked from network); 22 Sep 2009 13:23:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Sep 2009 13:23:25 -0000 Received: (qmail 53144 invoked by uid 500); 22 Sep 2009 13:23:25 -0000 Delivered-To: apmail-hc-commits-archive@hc.apache.org Received: (qmail 53107 invoked by uid 500); 22 Sep 2009 13:23:25 -0000 Mailing-List: contact commits-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list commits@hc.apache.org Received: (qmail 53097 invoked by uid 99); 22 Sep 2009 13:23:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 13:23:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 13:23:22 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5549223888D7; Tue, 22 Sep 2009 13:22:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r817653 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpUriRequest.java Date: Tue, 22 Sep 2009 13:22:55 -0000 To: commits@hc.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090922132255.5549223888D7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Tue Sep 22 13:22:54 2009 New Revision: 817653 URL: http://svn.apache.org/viewvc?rev=817653&view=rev Log: Document how to find final URI Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpUriRequest.java Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpUriRequest.java URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpUriRequest.java?rev=817653&r1=817652&r2=817653&view=diff ============================================================================== --- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpUriRequest.java (original) +++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/methods/HttpUriRequest.java Tue Sep 22 13:22:54 2009 @@ -51,6 +51,15 @@ /** * Returns the URI this request uses, such as * http://example.org/path/to/file. + * + * Note that this is the original URI, and is + * unaffected by redirects. + * + * To find the final URI after any redirects have been processed, + * please see the section entitled + * HTTP execution context + * in the + * HttpClient Tutorial */ URI getURI();