BareHTTP Java Web Server
About BareHTTP
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
Version | Combined Source/Binaries | License | Changes | API Documentation | Unit Test Documentation | Test Code Coverage Report |
---|---|---|---|---|---|---|
1.0.2 | barehttp-1.0.2.tar.gz | LICENSE | CHANGES | BareHTTP 1.0.2 API | BareHTTP 1.0.2 Unit Test API | BareHTTP 1.0.2 Test Code Coverage |
Previous Releases
Version | Source | License |
---|---|---|
1.0.1 | barehttp-1.0.1.tar.gz | LICENSE |
1.0.0 | barehttp-1.0.0.tar.gz | LICENSE |
Additional Resources
Resource | Link |
---|---|
IETF RFC 2616 | Hypertext Transfer Protocol -- HTTP/1.1 |
Java Pro July 2001 | Build Your Own Web Server |
Copyright ©2022 D. F. Savarese