Yes, you would need to take care of the dispatching. I think you would have to invent some protocol to do exactly what you want. For instance, if you wanted to GET multiple resources, you could pass in a JSON data structure full of the URLs you wanted to batch together in one response.
BTW, having "batch operations" like this seem to go against some of the REST principles and general HTTP if you're relying on things like caching for instance. Just my 2 cents. On Tue, Apr 12, 2011 at 3:01 PM, Tsadok, Shay <[email protected]> wrote: > Thanks for the info. > Does it means that I will need to take care for the dispatching? If yes - how > should I do it without sending a new HTTP request per part? > > Thanks, > Shay > > -----Original Message----- > From: Bryant Luk [mailto:[email protected]] > Sent: Tuesday, April 12, 2011 7:07 PM > To: [email protected] > Cc: Tsadok, Shay > Subject: Re: Does Wink support batch operations? > > So there are MIME Multipart packages ( > org.apache.wink.common.model.multipart and > org.apache.wink.common.internal.providers.multipart ) which allow you > to response with multipart requests/responses. You can try that out. I > was thinking you wanted to do something else originally. > > On Tue, Apr 12, 2011 at 10:48 AM, Tsadok, Shay <[email protected]> wrote: >> We need it for performance... >> >> Sent from my iPhone >> >> On 12 באפר 2011, at 18:32, "Bryant Luk" >> <[email protected]<mailto:[email protected]>> wrote: >> >> It isn't directly supported. Are you trying to get better performance >> or something else? >> >> On Mon, Apr 11, 2011 at 1:13 PM, Tsadok, Shay >> <[email protected]<mailto:[email protected]>> wrote: >> Hi, >> >> >> >> I wanted to check if Wink support aggregation of multiple REST calls into >> single request using MIME-Multipart or Feeds? >> >> >> >> Thanks, >> >> Shay >> >
