Http-server: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
=Overview= | =Overview= | ||
A simple, multithreaded experimental web server. Developed to experiment with the behavior of user agents and proxies. | A simple, multithreaded experimental HTTP/1.1 (RFC 2616) web server. Developed to experiment with the behavior of user agents and proxies. | ||
The server registers itself with the JVM as an MBean, as "novaordis:service=http-server", so it can be managed via a standard JMX client such as [[VisualVM]] or [[Jconsole|JConsole]]. | The server registers itself with the JVM as an MBean, as "novaordis:service=http-server", so it can be managed via a standard JMX client such as [[VisualVM]] or [[Jconsole|JConsole]]. |
Revision as of 05:45, 8 January 2017
Internal
Overview
A simple, multithreaded experimental HTTP/1.1 (RFC 2616) web server. Developed to experiment with the behavior of user agents and proxies.
The server registers itself with the JVM as an MBean, as "novaordis:service=http-server", so it can be managed via a standard JMX client such as VisualVM or JConsole.
GitHub
Run
./bin/http-server <port> [document-root]
The document-root is optional, it will sever the current directory if not specified.