Re: ERRest ERXRouteResults

Jesse Tayler <[email protected]> Mon, 24 Jun 2013 11:06:53 -0400
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
I can take a look at this with you --


On Jun 24, 2013, at 10:30 AM, Martin B <[email protected]> wrote:

> Hi everyone,
> 
> I'm still looking for a solution to this problem.  I was wondering if someone here at WOWODC could help me out?
> 
> Thank you.
> 
> Martin
> 
> From: [email protected]
> To: [email protected]
> Date: Thu, 30 May 2013 14:40:58 -0400
> Subject: [Wonder-disc] ERRest ERXRouteResults
> 
> I'm looking for an example that demonstrates how ERXRouteResults can be used to "chain" multiple rest responders together.  
> 
> /**
>  * ERXRouteResults encapsulates the data necessary to produce a RESTful response. This object exists to defer the
>  * generation of the response (so you can chain together rest responders).
>  * 
>  * @author mschrag
>  */
> public class ERXRouteResults implements WOActionResults {
> 
> For example if I have the following RouteControllers:
> 
> -GarageController.java
> -TruckController.java
> -DriverController.java
> 
> And then I make the following request: /garages/1/trucks/A3G1E6/drivers
> 
> I want GarageController to delegate the request to TruckController which will then delegate the request to DriverController to get the list of drivers.  
> 
> Thank you!
> 
> Martin
> 
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with 
> _______________________________________________ Wonder-disc mailing list [email protected]://lists.sourceforge.net/lists/listinfo/wonder-disc
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev_______________________________________________
> Wonder-disc mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wonder-disc

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

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

_______________________________________________
Wonder-disc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wonder-disc