org.apache.http.impl.nio.bootstrap
Class HttpServer

java.lang.Object
  extended by org.apache.http.impl.nio.bootstrap.HttpServer

public class HttpServer
extends Object

Since:
4.4

Method Summary
 void awaitTermination(long timeout, TimeUnit timeUnit)
           
 ListenerEndpoint getEndpoint()
           
 void shutdown(long gracePeriod, TimeUnit timeUnit)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEndpoint

public ListenerEndpoint getEndpoint()

start

public void start()
           throws IOException
Throws:
IOException

awaitTermination

public void awaitTermination(long timeout,
                             TimeUnit timeUnit)
                      throws InterruptedException
Throws:
InterruptedException

shutdown

public void shutdown(long gracePeriod,
                     TimeUnit timeUnit)


Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.