Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Labels:
      None

      Description

      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(); }

        Attachments

        1. deft-100.patch
          183 kB
          Johnathan Meehan

          Activity

            People

            • Assignee:
              jmeehan Johnathan Meehan
              Reporter:
              niklas Niklas Gustavsson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: