{"id":22434752,"url":"https://github.com/wmartinmimi/lil-http-server4j","last_synced_at":"2025-07-28T16:10:45.185Z","repository":{"id":178464486,"uuid":"661650180","full_name":"wmartinmimi/lil-http-server4j","owner":"wmartinmimi","description":"Not-for-production experimental java http server using virtual threads","archived":false,"fork":false,"pushed_at":"2023-07-15T09:43:26.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T08:22:07.655Z","etag":null,"topics":["experimental","http-server","java","mit-license","virtual-threads"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wmartinmimi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-03T10:44:40.000Z","updated_at":"2023-07-03T23:09:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4094cb7-68f7-416c-9a27-83d86898a630","html_url":"https://github.com/wmartinmimi/lil-http-server4j","commit_stats":null,"previous_names":["wmartinmimi/lil-http-server4j"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wmartinmimi/lil-http-server4j","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmartinmimi%2Flil-http-server4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmartinmimi%2Flil-http-server4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmartinmimi%2Flil-http-server4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmartinmimi%2Flil-http-server4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wmartinmimi","download_url":"https://codeload.github.com/wmartinmimi/lil-http-server4j/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmartinmimi%2Flil-http-server4j/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267544469,"owners_count":24104768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["experimental","http-server","java","mit-license","virtual-threads"],"created_at":"2024-12-05T23:10:29.347Z","updated_at":"2025-07-28T16:10:45.170Z","avatar_url":"https://github.com/wmartinmimi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lil-http-server4j\n\nAn experimental http server for utilising virtual thread features.\n\n## IMPORTANT!\n\nNot for production uses!\n\n## Example Usage\n\n```java\nclass Main {\n  \n  public static void main(String[] args) throws IOException {\n    try (var server = new HttpRequestHandler(20000)) {\n      server.setHttpRequestListener((request) -\u003e switch (request.path()) {\n        case \"/hello\" -\u003e new HttpResponses.Status200(\"text/plain-text\", \"hello\");\n        case \"/bye\" -\u003e new HttpResponses.Status204();\n        default -\u003e new HttpResponses.Status404(\"text/plain-text\", \"404 error\");\n      });\n      server.run();\n    }\n  }\n}\n```\n\n- [Example Usage 1](https://github.com/wmartinmimi/lil-http-server4j/blob/main/lib/src/test/java/io/githubb/wmartinmimi/lilhttpserver4j/ExampleUsage1.java)\n\n## Features\n\n- Uses Virtual Threads\n\n## Testing and Running Requirements\n\n- JDK version 20+\n\n## Importing Requirements\n\n- org.slf4j library\n- Testing and Running requirements\n\n## Development\n\n### Testing\n\n```shell\n./gradlew test\n```\n\n### Building\n\n```shell\n./gradlew build\n```\n\n## License\n\nLicensed under ```MIT License```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmartinmimi%2Flil-http-server4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwmartinmimi%2Flil-http-server4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmartinmimi%2Flil-http-server4j/lists"}