>From within a Resource, there are methods you can access of the  class 
>org.restlet.data.Reference to get the necessary information. For example in a 
>Resource class:
getRequest().getResourceRef().getPath();

----------------------------------------
> To: [email protected]
> From: [EMAIL PROTECTED]
> Date: Wed, 6 Aug 2008 09:34:56 -0700
> Subject: Restlet way to HttpServletRequest.getPathInfo()
> 
> In my Resource, what is the Restlet way to get full path information 
> associated with the URL the client sent when it made the request?
> That would be function corresponding to HttpServletRequest.getPathInfo().
> 
> I am running under servlet adapter, but I do not want to go the ugly way to 
> get the httpResuest, there must be a simple Restlet way.
> Leshek 
> 
> 
> 

_________________________________________________________________
Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer Games Trivia 
Contest
http://www.gowindowslive.com/summergames?ocid=TXT_TAGHM

Reply via email to