Does resteasy have a mechanism for sending data of different data types in one 
response to avoid additional requests to other endpoints?

Example: Supposwe I want to request user/23/withGroupMemberships so it would 
load data of type user and of type membership and of type group. Does a strict 
implementation of REST require three requests? user/23 to load that user and 
another request user/23/memberships to load the memberships that user 23 has, 
then you gather up the group IDs from those memberships and make another 
request for group/14,15,23 to load the three groups that the user is a member 
of?

Or is there a way to load data of different types in one response?

This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to