{"id":36699404,"url":"https://github.com/javaquery/httpclient","last_synced_at":"2026-01-12T11:36:46.560Z","repository":{"id":37710008,"uuid":"353752714","full_name":"javaquery/httpclient","owner":"javaquery","description":"Java HttpClient","archived":false,"fork":false,"pushed_at":"2025-02-26T06:12:30.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T07:21:00.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/javaquery.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":"2021-04-01T15:57:03.000Z","updated_at":"2025-02-26T06:12:32.000Z","dependencies_parsed_at":"2025-02-26T07:20:02.457Z","dependency_job_id":"adca8b5e-446d-4927-9356-0a9a1c847b56","html_url":"https://github.com/javaquery/httpclient","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/javaquery/httpclient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaquery%2Fhttpclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaquery%2Fhttpclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaquery%2Fhttpclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaquery%2Fhttpclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javaquery","download_url":"https://codeload.github.com/javaquery/httpclient/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaquery%2Fhttpclient/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-01-12T11:36:46.499Z","updated_at":"2026-01-12T11:36:46.548Z","avatar_url":"https://github.com/javaquery.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JavaQuery HttpClient\n\nWelcome to the JavaQuery http client\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.javaquery/httpclient/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.javaquery/httpclient)\n\n# Why http client?\n\nThe http client is created on top of Apache http client (org.apache.httpcomponents:httpclient:4.5) with the goal of providing extensive \nfunctionality on any http request.\n\n# Features\n\nThe http client has the following features to make your http request experience rich. \n\n### Request handlers\n\nCreate common or request specific HttpRequestHandler (implement com.javaquery.http.handler.HttpRequestHandler) and you can add following interceptor in the request.\n- `beforeRequest(HttpExecutionContext httpExecutionContext, HttpRequest httpRequest);`\n- `afterResponse(HttpExecutionContext httpExecutionContext, HttpRequest httpRequest, HttpResponse httpResponse);`\n- `onError(HttpExecutionContext httpExecutionContext, HttpRequest httpRequest, Exception exception);`\n\n### Response handlers\n\nSame as request handler, create common or request specific HttpResponseHandler(com.javaquery.http.handler.HttpResponseHandler) and you can add following action on your response.\n- `R onResponse(HttpResponse httpResponse);`\n- `onMaxRetryAttempted(HttpResponse httpResponse);`\n\n### Response\n\n- You can make other request in after response of request handler and update final response to process.\n- Get response as `JSONObject` or `JSONArray` directly.\n\n### Retry policy\n\nDefine your custom RetryPolicy for response specific status code or based on server response. Implement `RetryPolicy.RetryCondition` and `RetryPolicy.BackoffStrategy`.\n\n### Examples\n\nI have created working http request examples in test cases. Explore all test cases to understand how this http client works.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavaquery%2Fhttpclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavaquery%2Fhttpclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavaquery%2Fhttpclient/lists"}