In Spring 2.0, is there a quick way to have a list of the current servlet context's mapped URLs from inside a Controller method?

I'm writing a method called `getMappedUrls()`, and the purpose of this method is to show what urls are mapped in the current servlet context.

This method is to be used to generate an small online doc of available services.

Thanks!

[Edit]

Kent Lai's answer works for me:

```
final Map<Object, AbstractUrlHandlerMapping> beans =
    getApplicationContext().getBeansOfType(AbstractUrlHandlerMapping.class);
for (final AbstractUrlHandlerMapping bean : beans.values())
{
    final Map<String, Object> mapping = bean.getHandlerMap();
    for(final String url : mapping.keySet())
        urls.add(url);
}

```