I'd likely put the behavior that is the same into another method
("myInternalMethod(...)"), and call this method from both represent and
acceptRepresentation.  You aren't limited to only the methods required by
the class.
On Tue, Apr 21, 2009 at 7:38 PM, Rick <freephon...@yahoo.com> wrote:

>   Now I want to do the same stuff for GET operation as well. How can I do
> it without replicating this code which I wrote in acceptRepresent method? Is
> there any way I can just call accpetRepresent method in represent method so
> that GET operatiion can take care of it by re-using it?
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1859508

Reply via email to