BareHTTP Java Web Server

About BareHTTP

Gear icon The BareHTTP library implements a stripped down Java HTTP server able to satisfy only HTTP/0.9, 1.0, and 1.1 GET requests and HTTP/1.0 and 1.1 HEAD requests. It is suitable for embedded use in unit tests that require access to resources via HTTP. Also, it is convenient to use as a stripped down HTML documentation server.

The code is an expanded and updated version of an example program that appeared in "Build Your Own Web Server," Savarese, D., Java Pro 5, 7 (July 2001), 104-109.

License

BareHTTP is released under the Apache License 2.0.

Download

VersionCombined Source/BinariesLicenseChangesAPI DocumentationUnit Test DocumentationTest Code Coverage Report
1.0.2barehttp-1.0.2.tar.gzLICENSECHANGESBareHTTP 1.0.2 APIBareHTTP 1.0.2 Unit Test APIBareHTTP 1.0.2 Test Code Coverage

Previous Releases
VersionSourceLicense
1.0.1barehttp-1.0.1.tar.gzLICENSE
1.0.0barehttp-1.0.0.tar.gzLICENSE

Additional Resources

ResourceLink
IETF RFC 2616Hypertext Transfer Protocol -- HTTP/1.1
Java Pro July 2001Build Your Own Web Server