I'm still a bit confused by your description.  Are you talking about
passing them in the communication between the clients and the
(restlet) based server or inside the restlet-based server?

If it's the former then the easiest thing to do is to add them as URL
query parameters.

Hope this helps,
John

On 5/2/07, Sean Landis <[EMAIL PROTECTED]> wrote:
Sean Landis <sean.landis <at> gmail.com> writes:

>
> I have a need to pass a couple of identifiers along with requests of every
> method type (GET, PUT, DELETE, POST). Is there a recommended way to do this?

I should add these requirements. The service needs to be called from both
Java and C/C++. So I'd like to know what is the best way that supports both
of these clients.

What I see as options now are:
RequestWrapper - but this seems to tie me to a Java-only solution.
Modify the message attributes - If this is more friendly to C/C++ clients, I
  do not know how to use it there.
Headers?

Reply via email to