{"id":22900954,"url":"https://github.com/johnib/java-webserver","last_synced_at":"2025-06-19T18:40:23.632Z","repository":{"id":91957762,"uuid":"47136842","full_name":"johnib/Java-webserver","owner":"johnib","description":"Multi threaded web server","archived":false,"fork":false,"pushed_at":"2016-02-11T19:43:36.000Z","size":10861,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T17:27:21.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnib.png","metadata":{"files":{"readme":"readme.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-30T18:11:43.000Z","updated_at":"2016-05-11T10:45:35.000Z","dependencies_parsed_at":"2023-04-30T21:31:36.733Z","dependency_job_id":null,"html_url":"https://github.com/johnib/Java-webserver","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/johnib/Java-webserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnib%2FJava-webserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnib%2FJava-webserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnib%2FJava-webserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnib%2FJava-webserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnib","download_url":"https://codeload.github.com/johnib/Java-webserver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnib%2FJava-webserver/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260807107,"owners_count":23066086,"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":[],"created_at":"2024-12-14T01:30:50.157Z","updated_at":"2025-06-19T18:40:18.618Z","avatar_url":"https://github.com/johnib.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"1.      These steps will explain how the server works from a higher point of view, less implementation details.\n1.0     The main thread listens on the requested port.\n1.1     Once connection is accepted, puts it in a queue.\n1.2     Returns to step 1.\n\n2.      At the other end of the queue, one of the other N threads (of the Thread Pool) pulls a socket from the queue.\n        Each one of the threads:\n2.0     Pulls a socket from the queue.\n2.1     Reads the request from socket's input stream.\n2.2     Parses the request using regex and creates an Root.HTTPRequest object.\n2.3     Creates a response from the parsed Root.HTTPRequest.\n2.4     Sends the response to the socket's output stream.\n2.5     Returns to step 2.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnib%2Fjava-webserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnib%2Fjava-webserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnib%2Fjava-webserver/lists"}