Oleg,

Thanks very much for your input.  I would prefer adding it to BasicHttpRequest 
as it appears to me to be part of essential HttpCore functionality.  It seems 
to me that any process with more extensive proxy facilities would need such a 
method, just think of handling http ver 1.0 hosts.

Thanks again.

Rae



----- Original Message ----
From: Oleg Kalnichevski <[EMAIL PROTECTED]>
To: HttpComponents Project <[email protected]>
Sent: Wednesday, September 3, 2008 3:34:42 AM
Subject: Re: HttpCore -

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.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to