Hi Ivano,
Another option would be to do:
Document doc = resource.get(Document.class);
That should just works with automagic conversion :)
Best regards,
Jerome
--
Restlet ~ Founder and Technical Lead ~ http://www.restlet.org
Noelios Technologies ~ http://www.noelios.com
-Message
Hi Pete,
this should work.
Do you checked it with the debugger?
best regards
Stephan
-Ursprüngliche Nachricht-
Von: "Peter Murray"
Gesendet: 25.08.2011 16:22:33
An: discuss@restlet.tigris.org
Betreff: JAX-RS simple binary file download
>Greetings folks,
>
>I'm trying to implement a
On Fri, Aug 26, 2011 at 1:05 AM, Jerome Louvel
wrote:
> Hi Ivano,
>
> Another option would be to do:
>
> Document doc = resource.get(Document.class);
>
> That should just works with automagic conversion :)
>
That is some magic! I just took a look at this page on the ConverterService:
Hi Alex,
Definitely, the user guide is scarce in some areas... Currently, we try to
finish the "Restlet in Action" book which goes into more details with examples
about such features. Then, in v 2.2 we'll continue expanding the documentation
progressively, but would welcome contributions to the
4 matches
Mail list logo