public class SimpleHttpServer
extends java.lang.Object
| Constructor and Description |
|---|
SimpleHttpServer(ConfigurationContext configurationContext,
WorkerFactory workerFactory,
int port) |
SimpleHttpServer(HttpFactory httpFactory,
int port) |
public SimpleHttpServer(ConfigurationContext configurationContext, WorkerFactory workerFactory, int port) throws java.io.IOException
java.io.IOExceptionpublic SimpleHttpServer(HttpFactory httpFactory, int port) throws java.io.IOException
java.io.IOExceptionpublic void init()
throws java.io.IOException
java.io.IOExceptionpublic void destroy()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void start()
public boolean isRunning()
public int getPort()
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.