Hey there,

I want to use Restlet to offer some REST-based services. For example

GET http://localhost/user/

should return a list with users. Until now that is not a problem at all.

Now I want to call a different class/service if the same url is called by a 
mobile client (can detect mobile-client by some header-inforamtion). 

As far as I had a look at the source code my idea was to override the Routers 
"getNext(Request, Response)"-method to check the header for mobile information 
and return another result als usual. Is there any other or better way?

Best regards,
Jan L.

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

Reply via email to