HTTP Server Bean
ON THIS PAGE:
OTHER PAGES:
I decided to write my own HTTP server. Why? Many reasons — I wanted a server that I could configure easily for my own use, including use as an embedded server, I wanted to explore REST concepts, and lastly, just because I could.
This is just an initial set of documentation on the server; more will be added in due course. The Javadoc in particular is very incomplete at this stage.
The ServerBean class is designed to be configured by means of dependency injection. See the Javadoc for the ServerBean class for more details.
This software has been tested on Linux (Ubuntu) and Windows (XP). It should run without modification on any system that supports Java SE.
For those people who wish to use the server but not modify it, a JAR file containing the class files is available for download. A ZIP file of the Javadoc for the classes is also available. And for those who wish to modify the source or just to peruse it, a ZIP file of the entire project (source, Ant build file etc.) is available.
File Name File Size File Type
HTTPServer2.jar 70,082 JAR file
HTTPServer2Doc.zip 191,307 ZIP of Javadoc
HTTPServer2Project.zip 49,552 ZIP of source etc.
Do not deep-link to the download files — the URLs include a numeric IP address which may change from time to time.
This software requires the following libraries from the Apache Commons collection, which are not included in the above downloads.
  • commons-logging.jar
  • commons-codec.jar
Javadoc for the project may be perused online: Please use this only for occasional reference; for repeated use please download the ZIP of the Javadoc (see above). Do not deep-link to the online Javadoc — the URL includes a numeric IP address which may change from time to time.
This software is copyright © 2007, 2008 Peter Wall. It is licensed under the GNU Lesser General Public License.
Valid HTML 4.0! Valid CSS! Last modified:
25 April 2008