... | ... | @@ -4,7 +4,7 @@ |
|
|
|
|
|
|
|
|
## Creating a server
|
|
|
We shown how to create and start a web service on our [starting site](Home). Sparkling analyzes the methods of the given handler object and uses Spark to add __both a GET and a POST__ endpoint for each method, together with parameter and return value conversion. Further, it creates a documentation site for the handler object, listing all service methods available together with a generated Java interface for Java client instance creation.
|
|
|
We shown how to create and start a web service on our [starting site](Home). Sparkling analyzes the methods of the given handler object and uses Spark to add __both a GET and a POST__ endpoint for each method, together with parameter and return value conversion. Further, it creates a documentation site for the handler object, listing all service methods available together with a generated Java interface for Java client instance creation. [Look here](GeneratedDocExample) for an example of a generated documentation site.
|
|
|
|
|
|
You have some possibilities to control server creation with Sparkling:
|
|
|
* __Pick the methods__ that should be available via the server:
|
... | ... | |