William, This is intended. Once you have consume the transient request entity from the socket with getEntityAsText(), you can't consume it a second time (via object conversion) unless you cache the entity value somewhere. AFAI remember, this is mentioned in the book, but I would need to double check to be sure. We would take some contributions on the Javadocs front with pleasure :)
Thanks, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel -----Message d'origine----- De : William Ferguson [mailto:william.fergu...@xandar.com.au] Envoyé : jeudi 6 septembre 2012 06:48 À : discuss@restlet.tigris.org; Jerome Louvel Objet : RE: Params are null on server And another thing (not sure if this is intended or if it is a bug), but even with a single parameter method, calling Request#getEntityAsText() before the business object method (such as from Filter#beforeHandle) also causes the parameter to be null. Is it a bug? If it's intended then some doco against Request#getEntityAsString and a warning in the book would be really useful. I've just spent a week trying to debug it. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3003892