public class HttpServer extends Object
Modifier and Type | Method and Description |
---|---|
void |
awaitTermination(long timeout,
TimeUnit timeUnit) |
InetAddress |
getInetAddress() |
int |
getLocalPort() |
void |
shutdown(long gracePeriod,
TimeUnit timeUnit) |
void |
start() |
void |
stop() |
public InetAddress getInetAddress()
public int getLocalPort()
public void start() throws IOException
IOException
public void stop()
public void awaitTermination(long timeout, TimeUnit timeUnit) throws InterruptedException
InterruptedException
public void shutdown(long gracePeriod, TimeUnit timeUnit)
Copyright © 2010 - 2020 Adobe. All Rights Reserved