incubator-awf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Stevenson (Moved) (JIRA)" <j...@apache.org>
Subject [jira] [Moved] (AWF-151) Annotate RequestHandlers
Date Wed, 29 Feb 2012 10:10:09 GMT

     [ https://issues.apache.org/jira/browse/AWF-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tony Stevenson moved DEFT-100 to AWF-151:
-----------------------------------------

    Fix Version/s:     (was: 0.4.0)
      Component/s:     (was: Core)
       Issue Type: Bug  (was: New Feature)
         Reporter: Niklas Gustavsson
              Key: AWF-151  (was: DEFT-100)
          Project: Apache AWF  (was: Deft)
    
> Annotate RequestHandlers
> ------------------------
>
>                 Key: AWF-151
>                 URL: https://issues.apache.org/jira/browse/AWF-151
>             Project: Apache AWF
>          Issue Type: Bug
>            Reporter: Niklas Gustavsson
>            Assignee: Johnathan Meehan
>            Priority: Minor
>         Attachments: deft-100.patch
>
>
> Just a thought.
> Proposal: 
>     @Path("/")
>     class SynchronousRequestHandler extends RequestHandler {
>         @Override
>         public void get(HttpRequest request, HttpResponse response) {
>             response.write("hello world!");
>         }
>     }
>     public static void main(String[] args) {
>         List <RequestHandler> handlers = new LinkedList<RequestHandler>();
>         handlers.add(new SynchronousRequestHandler());
>         HttpServer server = new HttpServer(new Application(handlers));
>         server.listen(8080);
>         IOLoop.INSTANCE.start();
>     }

--
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