Example usage for Java org.apache.commons.httpclient.server SimpleHttpServer fields, constructors, methods, implement or subclass
The text is from its open source code.
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 |
boolean | isRunning() Checks if this HTTP server instance is running. |
void | setRequestHandler(HttpRequestHandler rh) Sets the HttpRequestHandler to be used for this SimpleHttpServer. |