{"id":22166918,"url":"https://github.com/origamidream/utils-binding-results","last_synced_at":"2026-04-28T21:01:34.653Z","repository":{"id":111995491,"uuid":"166768464","full_name":"OrigamiDream/utils-binding-results","owner":"OrigamiDream","description":"Simple utilities which provides functions handling BindingResult of Spring Framework.","archived":false,"fork":false,"pushed_at":"2024-02-02T20:35:09.000Z","size":7,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T16:48:45.809Z","etag":null,"topics":["spring-boot","spring-context","utility-library","validation"],"latest_commit_sha":null,"homepage":null,"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/OrigamiDream.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":"2019-01-21T07:33:10.000Z","updated_at":"2019-01-21T11:01:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa24630c-6b2d-4808-b235-c8e9dca8882d","html_url":"https://github.com/OrigamiDream/utils-binding-results","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OrigamiDream/utils-binding-results","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrigamiDream%2Futils-binding-results","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrigamiDream%2Futils-binding-results/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrigamiDream%2Futils-binding-results/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrigamiDream%2Futils-binding-results/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OrigamiDream","download_url":"https://codeload.github.com/OrigamiDream/utils-binding-results/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrigamiDream%2Futils-binding-results/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32399010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"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":["spring-boot","spring-context","utility-library","validation"],"created_at":"2024-12-02T05:26:05.533Z","updated_at":"2026-04-28T21:01:34.625Z","avatar_url":"https://github.com/OrigamiDream.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## BindingResult Utils\n Provide methods for querying, removing, cleaning BindingResult.\n \n#### Requires\n- Spring Framework Environment\n- JDK 8\n\n\n#### Import / Injection\n```java\nimport av.is.utils.bindingresults.BindingResultUtils;\n\n@Component // Any streotype annotations of Spring Framework.\npublic class FooComponent {\n    \n    private final BindingResultUtils bindingResultUtils;\n    \n    @Autowired\n    public FooService(BindingResultUtils bindingResultUtils) {\n        this.bindingResultUtils = bindingResultUtils;\n    }\n}\n```\n\n#### Documents\n```java\n/**\n * Removes a specific error which defined in BindingResult.\n */\nvoid removeError(BindingResult bindingResult, String field);\n\n/**\n * Remove a chunk of errors which defined in BindingResult.\n */\nvoid removeErrors(BindingResult bindingResult, String... fields);\n\n/**\n * Clear all errors defined in BindingResult.\n */\nvoid clearError(BindingResult bindingResult);\n\n/**\n * Checks which error has defined in BindingResult by error field.\n */\nboolean hasError(BindingResult bindingResult, String field);\n\n/**\n * Get all errors which its field name equals to 'field'.\n */\nList\u003cObjectError\u003e getErrorsByField(BindingResult bindingResult, String field);\n\n/**\n * Provides stream wrapper of method: getErrorsByField()\n */\nStream\u003cObjectError\u003e errorsByField(BindingResult bindingResult, String field);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forigamidream%2Futils-binding-results","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forigamidream%2Futils-binding-results","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forigamidream%2Futils-binding-results/lists"}