Routing non-standard HTTP methods

The @CustomHttpMethod annotation supports non-standard HTTP methods for a client or server. Specifications like RFC-4918 Webdav require additional methods like REPORT or LOCK for example.

RoutingExample

  1. @CustomHttpMethod(method = "LOCK", value = "/{name}")
  2. String lock(String name)

The annotation can be used anywhere the standard method annotations can be used, including controllers and declarative HTTP clients.