Http-server: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
A simple, multithreaded experimental web server. Developed to experiment with the behavior of user agents and proxies.
A simple, multithreaded experimental web server. Developed to experiment with the behavior of user agents and proxies.


The server registers itself with the JVM as an MBean, so it can be managed via a standard JMX client such as [[Visual VM]] or [[JConsole]].
The server registers itself with the JVM as an MBean, so it can be managed via a standard JMX client such as [[VisualVM]] or [[JConsole]].


=GitHub=
=GitHub=

Revision as of 21:38, 7 January 2017

Internal

Overview

A simple, multithreaded experimental web server. Developed to experiment with the behavior of user agents and proxies.

The server registers itself with the JVM as an MBean, so it can be managed via a standard JMX client such as VisualVM or JConsole.

GitHub

https://github.com/NovaOrdis/playground/tree/master/http/http-server

Run

./bin/http-server <port> [document-root]

The document-root is optional, it will sever the current directory if not specified.