MCPcopy Create free account
hub / github.com/apache/nutch / main

Method main

src/test/org/apache/nutch/util/HelloHandler.java:12–21  ·  view source on GitHub ↗
( String[] args )

Source from the content-addressed store, hash-verified

10public class HelloHandler {
11
12 public static void main( String[] args ) throws Exception
13 {
14 Server webServer = new org.mortbay.jetty.Server(55000);
15 ResourceHandler handler = new ResourceHandler();
16 HandlerList handlers = new HandlerList();
17 handler.setResourceBase("build/test/data/fetch-test-site");
18 handlers.setHandlers(new Handler[] { handler, new DefaultHandler() });
19 webServer.setHandler(handlers);
20 webServer.start();
21 }
22}

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected