Hi Romain,
I don't if I answered to this question:
> Now it is working but I am wondering about the RoleChecker. My
> RoleChecker is like this :
>
> @SuppressWarnings("deprecation")
> private static final class RestletRoleChecker implements RoleChecker {
>
> public boolea
Hello,
as for the "Save as Dialog", you should do something like this:
Disposition attachment = new Disposition(Disposition.TYPE_ATTACHMENT);
attachment.setFilename("the file name here");
representation.setDisposition(attachment);
return representation;
This will set the proper HTTP headers so t
Hi Nirav,
There is an equivalent property in the Restlet API, see this page for a
complete mapping table:
http://wiki.restlet.org/docs_2.0/13-restlet/27-restlet/324-restlet/130-restlet.html
Best regards,
Jerome
--
Restlet ~ Founder and Technical Lead ~ http://www.restlet.org
Noelios Technologie
3 matches
Mail list logo