Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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