@@ -0,0 +1,1828 @@
+//%0A//  ========================================================================%0A//  Copyright (c) 1995-2013 Mort Bay Consulting Pty. Ltd.%0A//  ------------------------------------------------------------------------%0A//  All rights reserved. This program and the accompanying materials%0A//  are made available under the terms of the Eclipse Public License v1.0%0A//  and Apache License v2.0 which accompanies this distribution.%0A//%0A//      The Eclipse Public License is available at%0A//      http://www.eclipse.org/legal/epl-v10.html%0A//%0A//      The Apache License v2.0 is available at%0A//      http://www.opensource.org/licenses/apache2.0.php%0A//%0A//  You may elect to redistribute this code under either of these licenses.%0A//  ========================================================================%0A//%0A%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0Aimport javax.servlet.ServletException;%0Aimport java.io.IOException;%0Aimport org.eclipse.jetty.server.Server;%0Aimport org.eclipse.jetty.server.Request;%0Aimport org.eclipse.jetty.server.handler.AbstractHandler;%0A%0Apublic class HelloWorld extends AbstractHandler%0A%7B%0A    @Override%0A    public void handle(String target,%0A                       Request baseRequest,%0A                       HttpServletRequest request,%0A                       HttpServletResponse response) %0A        throws IOException, ServletException%0A    %7B%0A        response.setContentType(%22text/html;charset=utf-8%22);%0A        response.setStatus(HttpServletResponse.SC_OK);%0A        baseRequest.setHandled(true);%0A        response.getWriter().println(%22%3Ch1%3EHello World%3C/h1%3E%22);%0A    %7D%0A%0A    public static void main(String%5B%5D args) throws Exception%0A    %7B%0A        Server server = new Server(8080);%0A        server.setHandler(new HelloWorld());%0A %0A        server.start();%0A        server.join();%0A    %7D%0A%7D%0A

add example from documentation