Module vibe.http.rest
Automatic REST interface and client code generation facilities.
Functions
Name | Description |
---|---|
adjustMethodStyle
|
Adjusts the naming convention for a given function name to the specified style .
|
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.
|
path
|
User Defined Attribute interface to force specific URL path n REST interface
for function in question. Path attribute is relative though, not absolute.
|
registerRestInterface
|
Registers a REST interface and connects it the the given instance .
|
rootPath
|
UDA to define root URL prefix for annotated REST interface.
Empty path means deducing prefix from interface type name (see also rootPathFromName )
|
rootPathFromName
|
Convenience alias |
Classes
Name | Description |
---|---|
RestInterfaceClient
|
Implements the given interface by forwarding all public methods to a REST server. |
Structs
Name | Description |
---|---|
RootPath
|
Enums
Name | Description |
---|---|
MethodStyle
|
Determines the naming convention of an identifier. |
Authors
Sönke Ludwig, Михаил Страшун
Copyright
© 2012-2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.