Status: New
Owner: ----

New issue 405 by peter.hausel: guice servlet: capturing parts of the URIs
http://code.google.com/p/google-guice/issues/detail?id=405

I implemented a django-like named group capturing feature in guice
servlet whereas named regex groups would be saved as request
attributes.

example:
serveRegex("/myrest/<name>(.*)/<id>(.*)").with(MySerlvet.class)

this will capture the regexp groups and save the values as 'name' and
'id' request attributes

if you are interested the patch is here:
http://code.google.com/p/guice-maven/source/browse/trunk/guice_servle...

please let me know what you think

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to