Skip to content

guice servlet: capturing parts of the URIs #405

@gissuebot

Description

@gissuebot

From peter.hausel on July 19, 2009 10:00:32

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: https://code.google.com/p/guice-maven/source/browse/trunk/guice_servle.. .

please let me know what you think

Original issue: http://code.google.com/p/google-guice/issues/detail?id=405

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions