Example usage for org.apache.commons.httpclient.server SimpleHttpServer SimpleHttpServer

List of usage examples for org.apache.commons.httpclient.server SimpleHttpServer SimpleHttpServer

Introduction

In this page you can find the example usage for org.apache.commons.httpclient.server SimpleHttpServer SimpleHttpServer.

Prototype

public SimpleHttpServer(int port) throws IOException 

Source Link

Document

Creates a new HTTP server instance, using the specified TCP port

Usage

From source file:org.eclipse.ecf.internal.tests.filetransfer.httpserver.SimpleServer.java

public SimpleServer(String serverName, String testName) throws IOException {
    this.server = new SimpleHttpServer(serverName);
    this.server.setTestname(testName);
}