org.apache.http.impl.bootstrap
Class HttpServer

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

public class HttpServer
extends Object

Since:
4.4

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

Method Detail

getInetAddress

public InetAddress getInetAddress()

getLocalPort

public int getLocalPort()

start

public void start()
           throws IOException
Throws:
IOException

stop

public void stop()

awaitTermination

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

shutdown

public void shutdown(long gracePeriod,
                     TimeUnit timeUnit)


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