{"id":15069117,"url":"https://github.com/lupcode/java-sse-client","last_synced_at":"2025-10-17T08:08:05.960Z","repository":{"id":113255706,"uuid":"323738435","full_name":"LupCode/java-sse-client","owner":"LupCode","description":"Full implementation of a HTTP event stream client that listen for Server-Sent Events (SSE).","archived":false,"fork":false,"pushed_at":"2021-01-07T06:25:11.000Z","size":301,"stargazers_count":15,"open_issues_count":0,"forks_count":6,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-24T14:44:23.692Z","etag":null,"topics":["api","event-stream","http","http-client","java","java-11","java-11-http-client","library","listen","server-sent-events","sse","sse-client"],"latest_commit_sha":null,"homepage":"https://lupcode.com","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/LupCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-12-22T21:38:21.000Z","updated_at":"2024-10-02T15:01:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4410a17-19de-4d35-af96-02d1a09fc44f","html_url":"https://github.com/LupCode/java-sse-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LupCode%2Fjava-sse-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LupCode%2Fjava-sse-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LupCode%2Fjava-sse-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LupCode%2Fjava-sse-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LupCode","download_url":"https://codeload.github.com/LupCode/java-sse-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248256015,"owners_count":21073439,"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","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":["api","event-stream","http","http-client","java","java-11","java-11-http-client","library","listen","server-sent-events","sse","sse-client"],"created_at":"2024-09-25T01:40:34.554Z","updated_at":"2025-10-17T08:08:00.875Z","avatar_url":"https://github.com/LupCode.png","language":"Java","readme":"# Event Stream Client for Server-Sent Events\nFull implementation of a HTTP event stream client that listen for Server-Sent Events (SSE).  \nRequires Java 11 or higher, no other libraries are needed.\n\n## How to use:\n``` java\nHttpEventStreamClient client = new HttpEventStreamClient(\"https://sse.example.com\", new EventStreamAdapter() {\n\t\t\t\n\t@Override\n\tpublic void onEvent(HttpEventStreamClient client, Event event) {\n\t\tSystem.out.println(\"RECEIVED EVENT: \"+event.toString());\n\t}\n\n\t@Override\n\tpublic void onClose(HttpEventStreamClient client, HttpResponse\u003cVoid\u003e response) {\n\t\tSystem.out.println(\"SSE Client closed\");\n\t}\n\n});\nclient.start().join();\n```\n\n## References:\n - [LupCode.com](https://lupcode.com)\n - [Lup.services](https://lup.services)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flupcode%2Fjava-sse-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flupcode%2Fjava-sse-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flupcode%2Fjava-sse-client/lists"}