Thierry,

 

Actually what I want to do, sometimes, is abort the processing.(and probably
return a "Not Found" error).

 

Right now, the caller can use a somewhat "garbage" uri, and the uriPattern
will match.  Note that I want to be very selective, because I want to match,
for example "./bar.xml", but probably not "./barlksjfljj.xml".

 

 

Thanks.

 

Cliff Binstock
Coyote Reporting

  _____  

From: Thierry Boileau [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2008 2:27 AM
To: [email protected]
Subject: Re: uriPattern exactness

 

Hi Cliff,

I'm sorry, but I think I miss your question. ;)
What do you want to do? What kind of entity will handle the data: "the exact
matched pattern for "/foos/myFoo/barlksjfljj.xml" "?


Best regards,
Thierry Boileau
--
Restlet ~ Core developer ~ http://www.restlet.org <http://www.restlet.org/> 
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
<http://www.noelios.com/> 




I was wondering if there is some trick way to find the exact matched
pattern.  Specifically, I am seeing this (somewhat logical) behavior.
 
If the uriPattern is "/foos/{foo}/bar"
 
This of course matches something like "/foos/myFoo/barlksjfljj.xml"
 
What I want is:  If I type in "/foos/myFoo/barlksjfljj.xml", I could
determine that "/foos/myFoo/bar" was the actual match.
 
Maybe I just missed an existing API call?  :)
 
Thanks much in advance,
 
Cliff Binstock
 
  

Reply via email to