Java org.apache.commons.httpclient.server SimpleHttpServer fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.httpclient.server SimpleHttpServer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.httpclient.server SimpleHttpServer.

The text is from its open source code.

Constructor

SimpleHttpServer(String serverThreadName)
SimpleHttpServer(int port)
Creates a new HTTP server instance, using the specified TCP port
SimpleHttpServer()
Creates a new HTTP server instance, using an arbitrary free TCP port

Method

booleanisRunning()
Checks if this HTTP server instance is running.
voidsetRequestHandler(HttpRequestHandler rh)
Sets the HttpRequestHandler to be used for this SimpleHttpServer.