My question is: why is the method getRequestLine() part of HttpGet when it is common to all HTTP methods? It would be better to define it in org.apache.http.HttpMessage, so that from all Http* methods I will be able to access this information.
Subhash. On Fri, Aug 15, 2008 at 11:43 PM, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote: > On Thu, 2008-08-14 at 23:57 +0530, Subhash Chandran wrote: >> This is something which is common to all the HTTP methods, then why >> this partiality? >> >> Basically, I am trying to re-create the HTTP request generated by >> HttpClient so that I can show in RESTClient ( >> http://rest-client.googlecode.com/ ) the text format of the request, >> so that people can understand what is going on underneath. >> >> Is this possible by any other means? >> > > I am not sure I understand the problem. What is wrong with just using > HttpRequest interface instead? > > Oleg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Regards, Subhash Chandran S http://rest-client.googlecode.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
