Yes, as the entity of  a POST or PUT message, for example.

Note that in either direction there are limitations when using parameterized
types. In general, encoding for transport loses type parameter information,
and the decoding side can't recover that information. The simplest general
solution is to define a nonce type that extends or contains the
parameterized concrete type you want to send, e.g., IntSetHolder with
Set<Integer> property. But Restlet has support for commonly used types that
you should prefer over creating your own. In particular, for simple maps,
consider using Restlet Form.

--tim

On Wed, Oct 19, 2011 at 4:41 AM, Hoshang Varshney <
hoshang.varsh...@gmail.com> wrote:

> Is it possible to send Java object (say Map<K,V> object) along with the URI
> in the payload from client to server?
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2858745
>

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

Reply via email to