hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: HttpCore -
Date Wed, 03 Sep 2008 10:34:42 GMT
On Tue, 2008-09-02 at 19:20 -0700, Rae Egli wrote:
> I am trying to relativize a URI in an existing request.  BasicHttpRequest contains the
instance variable uri but it is private and final.  
> Wouldn't it make sense to allow the URI in a request to be changed, i.e. provide a setUri
method in BasicHttpRequest?
> Thanks for any suggestions.
> Rae

Hi Rae,

Yes, this can be done. However, you should probably just use a custom
impl of the HttpRequest interface with additional methods required by
your application. I do not see a problem with adding #setUri method to
the BasicHttpRequest class either.


To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message