codahale/dropwizard — pull request #30 by tinkerware (2012-02-10 20:00:11+00:00)
Title: Allow setting filter and servlet names

This allows setting names for filters and servlets as they would be given in the deployment descriptor. Some filters and servlets use their given name as a lookup key on another registry (I'm looking at you, Spring) and this change enables using those filters and servlets in Dropwizard.

I'm not really happy with piling on to the existing amount of code duplication between `FilterConfiguration` and `ServletConfiguration`, but I wanted to keep this patch small.