Yep, that's exactly what I was looking for, thanks!
-Arun
Srinivas Naresh Bhimisetty wrote:
> Hi Arun,
>
> there is a filter called "LoggingFilter" which could be used to log
> the requests and the responses that are sent.
> A logging filter could be added to a web resource using the "addFilter"
> method as:
>
> import com.sun.jersey.api.client.filter.LoggingFilter;
> .
> .
> .....
> LoggingFilter loggingFilter = new LoggingFilter();
> r.addFilter(loggingFilter);
> ......
>
> Hope this is what you meant by showing "on-the-wire" messages.
>
> - Naresh
>
> Arun Gupta wrote:
>> Is there a configuration property that can show on-the-wire messages
>> using Jersey Client API ?
>>
>> -Arun
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
--
Application Platform, Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta