incubator-awf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Séven Le Mesle (Created) (JIRA) <j...@apache.org>
Subject [jira] [Created] (DEFT-205) Simplify HttpServer configuration
Date Sun, 26 Feb 2012 17:52:48 GMT
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

       

Mime
View raw message