A method decorator for defining a route that responds to any HTTP method.
The route path for the endpoint.
Optional
Optional configuration for the route.
A method decorator configured for all HTTP methods.
@Any('/resource')handleAnyMethod() { return 'Handled any HTTP method';} Copy
@Any('/resource')handleAnyMethod() { return 'Handled any HTTP method';}
A method decorator for defining a route that responds to any HTTP method.