NanoHttpd 2.0.3 發布,輕量級Http服務器
NanoHTTPD是一個免費、輕量級的(只有一個Java文件) HTTP服務器,可以很好地嵌入到Java程序中。
- Only one Java file.
- 2 "flavors" - one at "current" standards and one strictly Java 1.1 compatible.
- Released as open source, free software, under a Modified BSD licence.
- No fixed config files, logging, authorization etc. (Implement by yourself if you need them.)
- Supports parameter parsing of GET and POST methods.
- Rudimentary PUT support (added in 1.25).
- Support for HEAD and DELETE requests.
- Supports single and multi-value parameters (w/ a helper method) if needed.
- Supports file upload (since version 1.2, 2010) with minimal memory overhead.
- Never caches anything.
- Doesn't limit bandwidth, request time or simultaneous connections.
- All header names are converted lowercase so they don't vary between browsers/clients.
- Very low memory overhead when processing even the largest of requests.
- Temp file usage and threading model are easily cutomized.
- Persistent connections (Connection "keep-alive") support allowing multiple requests to be served over a single socket connection.
發布說明:Polish for the Web server, and a fix for a bug causing stack traces on Samsung Phones. 'Connection: keep-alive' was implemented and tested against the latest Mozilla Firefox.
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!