Where are the request method constants in the Servlet API?

It appears that Java EE 6 added the HTTP method names as constants to the javax.ws.rs.HttpMethod annotation interface. Depending on your setup, they may be available to you.

http://docs.oracle.com/javaee/6/api/javax/ws/rs/HttpMethod.html

Leave a Comment