{"id":19714956,"url":"https://github.com/youngmonkeys/ezyhttp","last_synced_at":"2026-02-08T17:04:15.053Z","repository":{"id":36682873,"uuid":"226145856","full_name":"youngmonkeys/ezyhttp","owner":"youngmonkeys","description":"support to interact to http (both http client and http server)","archived":false,"fork":false,"pushed_at":"2026-01-18T13:47:00.000Z","size":1445,"stargazers_count":14,"open_issues_count":3,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-18T21:02:35.696Z","etag":null,"topics":["http","http-api","http-client","http-handler","http-server","restful","restful-client","restful-server"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/youngmonkeys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-12-05T16:38:40.000Z","updated_at":"2025-12-23T09:09:35.000Z","dependencies_parsed_at":"2025-12-20T13:01:45.158Z","dependency_job_id":null,"html_url":"https://github.com/youngmonkeys/ezyhttp","commit_stats":null,"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"purl":"pkg:github/youngmonkeys/ezyhttp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngmonkeys%2Fezyhttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngmonkeys%2Fezyhttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngmonkeys%2Fezyhttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngmonkeys%2Fezyhttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/youngmonkeys","download_url":"https://codeload.github.com/youngmonkeys/ezyhttp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngmonkeys%2Fezyhttp/sbom","scorecard":{"id":1236773,"data":{"date":"2025-07-07","repo":{"name":"github.com/youngmonkeys/ezyhttp","commit":"b7198843cf2471b85eacb7b0cb0f7894bc544d21"},"scorecard":{"version":"v5.2.1-18-gbb9c347d","commit":"bb9c347dff6349d986baab6578a46d68a5524c62"},"score":3.6,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#dangerous-workflow"}},{"name":"Security-Policy","score":4,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Warn: no linked content found","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#security-policy"}},{"name":"Maintained","score":5,"reason":"6 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/maven.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":6,"reason":"dependency not pinned by hash detected -- score normalized to 6","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/youngmonkeys/ezyhttp/maven.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/youngmonkeys/ezyhttp/maven.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-6v67-2wr5-gvf4","Warn: Project is vulnerable to: GHSA-pr98-23f8-jwxv","Warn: Project is vulnerable to: GHSA-qh8g-58pp-2wxh","Warn: Project is vulnerable to: GHSA-q4rv-gq96-w7c5","Warn: Project is vulnerable to: GHSA-7w75-32cg-r6g2","Warn: Project is vulnerable to: GHSA-fccv-jmmp-qg76","Warn: Project is vulnerable to: GHSA-g8pj-r55q-5c2v","Warn: Project is vulnerable to: GHSA-hfrx-6qgj-fp6c","Warn: Project is vulnerable to: GHSA-q3mw-pvr8-9ggc","Warn: Project is vulnerable to: GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GHSA-r6j3-px5g-cq3x"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-09-02T06:24:46.633Z","repository_id":36682873,"created_at":"2025-09-02T06:24:46.634Z","updated_at":"2025-09-02T06:24:46.634Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29237137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T14:18:14.570Z","status":"ssl_error","status_checked_at":"2026-02-08T14:18:14.071Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["http","http-api","http-client","http-handler","http-server","restful","restful-client","restful-server"],"created_at":"2024-11-11T22:36:47.651Z","updated_at":"2026-02-08T17:04:15.022Z","avatar_url":"https://github.com/youngmonkeys.png","language":"Java","readme":"# ezyhttp \u003cimg src=\"https://github.com/youngmonkeys/ezyhttp/blob/master/logo.png\" width=\"72\" /\u003e\n\n# Documentation\n\n[https://youngmonkeys.org/projects/ezyhttp](https://youngmonkeys.org/projects/ezyhttp)\n\n# Synopsis\n\nEzyHttp is a library in EzyFox ecosystem, It supports to interact to HTTP (both http server and http client)\n\n# Code Example\n\nFor full example you can take a look [the examples repository](https://github.com/tvd12/ezyfox-examples)\n\n**1. Start HTTP Server application**\n\n```java\nimport com.tvd12.ezyhttp.core.boot.EzyHttpApplicationBootstrap;\nimport com.tvd12.ezyhttp.server.core.annotation.ComponentsScan;\n\n@ComponentsScan({\"packageA\", \"packageB\"})\npublic class BootApp {\n\n    public static void main(String[] args) throws Exception {\n        EzyHttpApplicationBootstrap.start(BootApp.class);\n    }\n    \n}\n```\n\n**2. Add a controller**\n\n```java\nimport com.tvd12.ezyfox.bean.annotation.EzyAutoBind;\nimport com.tvd12.ezyhttp.core.boot.test.data.Customer;\nimport com.tvd12.ezyhttp.core.boot.test.service.CustomerService;\nimport com.tvd12.ezyhttp.core.constant.StatusCodes;\nimport com.tvd12.ezyhttp.core.exception.HttpBadRequestException;\nimport com.tvd12.ezyhttp.core.exception.HttpNotFoundException;\nimport com.tvd12.ezyhttp.core.response.ResponseEntity;\nimport com.tvd12.ezyhttp.server.core.annotation.Controller;\nimport com.tvd12.ezyhttp.server.core.annotation.DoGet;\nimport com.tvd12.ezyhttp.server.core.annotation.DoPost;\nimport com.tvd12.ezyhttp.server.core.annotation.PathVariable;\nimport com.tvd12.ezyhttp.server.core.annotation.RequestBody;\n\nimport lombok.Setter;\n\n@Setter\n@Controller(\"/api/v1/customer\")\npublic class CustomerController {\n\n    @EzyAutoBind\n    protected CustomerService customerService;\n    \n    @DoGet(\"/{zone}/{name}\")\n    public Customer getCustomer(@PathVariable(\"name\") String name) {\n        Customer customer = customerService.getCustomer(name);\n        if(customer == null)\n            throw new HttpNotFoundException(\"customer: \" + name + \" not found\");\n        return customer;\n    }\n    \n    @DoPost(\"/add\")\n    public ResponseEntity addCustomer(@RequestBody Customer customer) {\n        validateCustomer(customer);\n        customerService.save(customer);\n        return ResponseEntity.status(StatusCodes.NO_CONTENT).build();\n    }\n    \n    protected void validateCustomer(Customer customer) {\n        Map\u003cString, String\u003e errors = new HashMap\u003c\u003e();\n        if(customer == null) {\n            errors.put(\"customer\", \"required\");\n        }\n        else {\n            if(customer.getName() == null)\n                errors.put(\"name\", \"required\");\n            if(customer.getAge() \u003c 1)\n                errors.put(\"age\", \"invalid\");\n        }\n        if(errors.size() \u003e 0)\n            throw new HttpBadRequestException(errors);\n    }\n}\n```\n\n**3. Add a service**\n\n```java\nimport com.tvd12.ezyfox.bean.annotation.EzySingleton;\nimport com.tvd12.ezyhttp.core.boot.test.data.Customer;\n\n@EzySingleton\npublic class CustomerService {\n\n    protected final Map\u003cString, Customer\u003e customers = new HashMap\u003c\u003e();\n\n    public Customer getCustomer(String name) {\n        return customers.get(name);\n    }\n\n    public void save(Customer customer) {\n        this.customers.put(customer.getName(), customer);\n    }\n}\n```\n\n# License\n\n- Apache License, Version 2.0\n\n# Support Us\n\n[Make a Meaningful Donation 😎](https://youngmonkeys.org/donate/)\n\n# Contact Us\n\n- Get in touch with us on [Facebook](https://www.facebook.com/youngmonkeys.org)\n- Ask us on [stackask.com](https://stackask.com)\n- Email us at [contact@youngmonkeys.org](mailto:contact@youngmonkeys.org)\n- Chat with us on [Discord](https://discord.gg/hKV2cbaT5h)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoungmonkeys%2Fezyhttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoungmonkeys%2Fezyhttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoungmonkeys%2Fezyhttp/lists"}