... | ... | @@ -2,3 +2,9 @@ |
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
## 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 request for each, 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.
|
|
|
|
|
|
### [Underlying Spark micro framework](http://sparkjava.com/)
|
|
|
Since Sparkling simply connects the Spark server to the handler methods with Spark, you can use __all [Spark functionality](http://sparkjava.com/) furthermore. Nothing special. Add new requests before or after you add a handler with Sparkling, deal with https, etc. Look into the fantastic [Spark documentation](http://sparkjava.com/documentation) for all possibilities. |