List of usage examples for org.apache.http.testserver HttpServer getInetAddress
public InetAddress getInetAddress()
From source file:org.apache.http.testserver.HttpServer.java
public InetAddress getInetAddress() { final org.apache.http.impl.bootstrap.HttpServer local = this.server; if (local != null) { return local.getInetAddress(); } else {/* w ww . j a v a 2 s.c o m*/ throw new IllegalStateException("Server not running"); } }