Hello Musa, as there is no mapping between this structure and the underlying HTTP request, request's attributes cannot be used in the aim of transferring data from the client to the server (see this page for a complete mapping http://wiki.restlet.org/docs_2.0/130-restlet.html). Could you describe what you want to do? Basically, you can convey information in the following parts of the request: - headers : you can use generally standard headers in their standard way. Of course you can define custom headers but they might be swallowed by proxy servers. - uri (path, query part) if the data is part of the resource identification. - entity
Best regards, Thierry Boileau Hi, > > at the my application client side.I put param1 to request. > > request.getAttributes().put("param1", "sample"); > > But at the server side. When i get this attribute from the request, it > returns null. > > getRequest().getAttributes().get("param1") > > How can i use the request attributes. > > -- > View this message in context: > http://restlet-discuss.1400322.n2.nabble.com/getRequestAttributes-always-is-empty-tp6268997p6268997.html > Sent from the Restlet Discuss mailing list archive at Nabble.com. > > ------------------------------------------------------ > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2719447 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2720575