Class HttpServer
- java.lang.Object
-
- org.apache.http.impl.nio.bootstrap.HttpServer
-
public class HttpServer extends java.lang.Object
- Since:
- 4.4
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
awaitTermination(long timeout, java.util.concurrent.TimeUnit timeUnit)
ListenerEndpoint
getEndpoint()
void
shutdown(long gracePeriod, java.util.concurrent.TimeUnit timeUnit)
void
start()
-
-
-
Method Detail
-
getEndpoint
public ListenerEndpoint getEndpoint()
-
start
public void start() throws java.io.IOException
- Throws:
java.io.IOException
-
awaitTermination
public void awaitTermination(long timeout, java.util.concurrent.TimeUnit timeUnit) throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
shutdown
public void shutdown(long gracePeriod, java.util.concurrent.TimeUnit timeUnit)
-
-