Re: [Resteasy-users] RESTEasy Runtime client propagation.
So, After a quick research I am trying to find the counterpart of ClientErrorInterceptor for RESTEasy 3.x, any sugestions? Regards, Jakub Narloch 2015-02-27 11:37 GMT+01:00 Jakub Narloch jmnarl...@gmail.com: Hi, I think I have a quite interesting use case in our project, I had existing service layer that now is being translated into JAX-RS endpoints by exposing the existing service interfaces without changes and consuming them through RESTEasy client proxies. Everything seems ok except for one thing, we are struggling with RuntimeExceptions. Basically we had defined some application level exceptions that we wish to propagate to the client. Since they were runtime we didn't had defined the throws clauses for them. We would like to have those exceptions propagated to the client, but at the moment only what we got was some InternalServerErrrorException being thrown on client side. The question is only how we should approach to this problem, is there a way to register a ExceptionMapper and then register a ClientResponseFilter to process that, or there is maybe other way? Regards, Jakub Narloch -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users
[Resteasy-users] RESTEasy Runtime client propagation.
Hi, I think I have a quite interesting use case in our project, I had existing service layer that now is being translated into JAX-RS endpoints by exposing the existing service interfaces without changes and consuming them through RESTEasy client proxies. Everything seems ok except for one thing, we are struggling with RuntimeExceptions. Basically we had defined some application level exceptions that we wish to propagate to the client. Since they were runtime we didn't had defined the throws clauses for them. We would like to have those exceptions propagated to the client, but at the moment only what we got was some InternalServerErrrorException being thrown on client side. The question is only how we should approach to this problem, is there a way to register a ExceptionMapper and then register a ClientResponseFilter to process that, or there is maybe other way? Regards, Jakub Narloch -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users
[Resteasy-users] Announcing Arquillian REST extension.
Hi RESTEasy users, We would like to inform you that the JBoss Arquillian universe just extended with completly new extension that was designed to ease the testing of JAX-RS based web services: http://arquillian.org/blog/2013/10/28/arquillian-extension-rest-1-0-0-Alpha1/ One of of it's unique features is the integration with Arquillian Warp that does allow to intercept the state of the service running and verify it in a test that is being executed in the application container. We were hoping that you could give a try and give us as much feedback as possible. We also welcome any contributions to the newly developed extension. Thanks, Jakub Narloch -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users
[Resteasy-users] RESTeasy equivalent for Jersey InjectableProvider
Hi, I was actually curiouse if there is a similar functionality in RESTeasy to the Jersey InjectableProvider? The interface basically allows to define provider for custom object injection. Thanks in advance, Jakub Narloch -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users