Function method
User Defined Attribute interface to force specific HTTP method
in REST interface for function in question. Usual URL generation rules are still applied so if there are ny "get", "query" or similar prefixes, they are filtered out.
Prototype
vibe.http.rest.OverridenMethod method( HttpMethod );
Example
interface IAPI { // Will be "POST /info" instead of default "GET /info" @method(HttpMethod.POST) getInfo(); }
Authors
Sönke Ludwig, Михаил Страшун
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.