diff --git a/httpclient/src/main/java/org/apache/http/client/methods/HttpRequestBase.java b/httpclient/src/main/java/org/apache/http/client/methods/HttpRequestBase.java index a293a1fd1..c086b78f4 100644 --- a/httpclient/src/main/java/org/apache/http/client/methods/HttpRequestBase.java +++ b/httpclient/src/main/java/org/apache/http/client/methods/HttpRequestBase.java @@ -74,6 +74,12 @@ public abstract class HttpRequestBase extends AbstractHttpMessage return HttpProtocolParams.getVersion(getParams()); } + /** + * Returns the original request URI. + *

+ * Please note URI remains unchanged in the course of request execution and + * is not updated if the request is redirected to another location. + */ public URI getURI() { return this.uri; }