You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Andreas Weber <se...@gmail.com> on 2009/03/12 15:36:10 UTC
Version 4 equivalent to TraceMethod
Hi,
Is there any ready-to-use equivalent to
TraceMethod trace = new TraceMethod("http://jakarata.apache.org");
// Execute the method and handle any errors.
...
// Read the response body.
String request = trace.getResponseBodyAsString();
trace.releaseConnection();
in httpClient 4?
Thank you,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: Version 4 equivalent to TraceMethod
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Thu, 2009-03-12 at 15:36 +0100, Andreas Weber wrote:
> Hi,
> Is there any ready-to-use equivalent to
>
What's wrong with HttpTrace?
Oleg
>
> TraceMethod trace = new TraceMethod("http://jakarata.apache.org");
> // Execute the method and handle any errors.
> ...
> // Read the response body.
> String request = trace.getResponseBodyAsString();
> trace.releaseConnection();
>
>
> in httpClient 4?
>
> Thank you,
>
> Andreas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org