> 1. The default set of allowedMethods can be overridden. Potentially by custom 
> (made up) HTTP methods that wouldn't match any enum value.

Exactly this, for example WebDAV supports a number of HTTP methods which aren't 
defined in the HTTP RFCs:
https://en.wikipedia.org/wiki/WebDAV#Implementation 
<https://en.wikipedia.org/wiki/WebDAV#Implementation>

The filter allows setting the list of allowed HTTP methods with the 
"allowedMethods" parameter which would be restricted to the HTTP methods listed 
in the enum.
Also keep in mind that enums in Java cannot be extended.


Cheers,
Jochen

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to