Simplify HttpServer configuration
---------------------------------
Key: DEFT-205
URL: https://issues.apache.org/jira/browse/DEFT-205
Project: Deft
Issue Type: Improvement
Components: Core
Affects Versions: 0.4.0
Reporter: Séven Le Mesle
Fix For: 0.4.0
We can not build a server without using Configuration and handler package with
Annotated RequestHandlers.
For simplicity, and testing purpose we should be able to pass one or more
handlers directly in configuration. Using a builder can be a good idea.
<code>
HttpServerBuilder builder = new HttpBuilder();
builder.setConfigXX(); // Set config params
builder.addHandler(myRequestHandler);
builder.getServer();
</code>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira