To anyone else doing this. I created a WriterRepresentation to stream out the JSON data, then had to use a Result<String> type on the client side GWT to receive it, then parse out the JSON into the appropriate objects.
Cheers, Dustin On 12/12/2011 08:46 AM, Dustin Jenkins wrote: > I'm using the Restlet 2.1 WriterRepresentation to stream out JSON to a > Restlet GWT JSON client. > > I have 'pages' of data from a web service that I'm streaming over JSON > in one request to a GWT client. The server is streaming it out fine, > but I'm not sure how to implement the client side in GWT. I'm streaming > it as it's too big to keep on the server. > > I'm basically asking if the ClientProxy Result<T> implementation should > accept a JsonRepresentation as the<T> type, or if it's a String or some > other type. > > Thanks, > Dustin > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2892546 -- Dustin N. Jenkins | Tel/Tél: 250.363.3101 | [email protected] facsimile/télécopieur: (250) 363-0045 National Research Council Canada | 5071 West Saanich Rd, Victoria BC. V9E 2E7 Conseil national de recherches Canada | 5071, ch. West Saanich, Victoria (C.-B) V9E 2E7 Government of Canada | Gouvernement du Canada ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2892730

