jesse-gallagher / frostillic.us-Blog

http://frostillic.us
Apache License 2.0
8 stars 0 forks source link

Look into JAX-RS ContainerRequestFilter to codify _method override #12

Closed jesse-gallagher closed 6 years ago

jesse-gallagher commented 6 years ago

Currently, controllers that want to allow DELETE via HTML forms have to declare a POST method and check against the _method form param. It may be possible to do this in a filter and not have the controller know about it at all.