Re: [Resteasy-users] How to best handle exception scenarios as Client Response Filters are bypassed

2013-06-17 Thread Anil Gursel
Hi Bill,

Sorry for not being more clear in my previous email.  I am using Resteasy
3.0-beta-6.  "JAX-RS 2.0 ClientResponseFilter"s are bypassed if an
exception is thrown by http client.

Thanks,
Anil


On Mon, Jun 17, 2013 at 1:32 PM, Bill Burke  wrote:

> Switch to Resteasy 3.0 and use JAX-RS 2.0 filters.
>
> On 6/17/2013 12:58 PM, Anil Gursel wrote:
> > Hi,
> >
> > If an exception is thrown in http client or any of filters, all Client
> > Response Filters are bypassed.  It is also what the JAX-RS 2.0 spec
> > says, though.
> >
> > However, I have to provide a mechanism that should make sure to do
> > certain logging for both happy path and exception scenarios before
> > returning to application code that makes client call.
> >
> > What's the best way to handle such a scenario?  Is there any hook in
> > Resteasy that I can use for exception scenarios?
> >
> > Thanks,
> > Anil
> >
> >
> >
> --
> > This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
> >
> > http://p.sf.net/sfu/windows-dev2dev
> >
> >
> >
> > ___
> > Resteasy-users mailing list
> > Resteasy-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/resteasy-users
> >
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>
>
> --
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> ___
> Resteasy-users mailing list
> Resteasy-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/resteasy-users
>
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users


Re: [Resteasy-users] How to best handle exception scenarios as Client Response Filters are bypassed

2013-06-17 Thread Bill Burke
Switch to Resteasy 3.0 and use JAX-RS 2.0 filters.

On 6/17/2013 12:58 PM, Anil Gursel wrote:
> Hi,
>
> If an exception is thrown in http client or any of filters, all Client
> Response Filters are bypassed.  It is also what the JAX-RS 2.0 spec
> says, though.
>
> However, I have to provide a mechanism that should make sure to do
> certain logging for both happy path and exception scenarios before
> returning to application code that makes client call.
>
> What's the best way to handle such a scenario?  Is there any hook in
> Resteasy that I can use for exception scenarios?
>
> Thanks,
> Anil
>
>
> --
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
>
>
>
> ___
> Resteasy-users mailing list
> Resteasy-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/resteasy-users
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users