public class SimpleHttpServer extends Object
Constructor and Description |
---|
SimpleHttpServer(ConfigurationContext configurationContext,
WorkerFactory workerFactory,
int port) |
SimpleHttpServer(HttpFactory httpFactory,
int port) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
int |
getPort() |
void |
init() |
boolean |
isRunning() |
void |
start() |
public SimpleHttpServer(ConfigurationContext configurationContext, WorkerFactory workerFactory, int port) throws IOException
IOException
public SimpleHttpServer(HttpFactory httpFactory, int port) throws IOException
IOException
public void init() throws IOException
IOException
public void destroy() throws IOException, InterruptedException
IOException
InterruptedException
public void start()
public boolean isRunning()
public int getPort()
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.