{"id":66466,"library":"jersey-apache-client4","title":"Jersey Apache HTTP Client 4","description":"Jersey extension that integrates Apache HttpClient 4.x as the underlying HTTP client for RESTful web service communication.","status":"active","version":"1.19.4","language":"java","source_language":null,"source_url":"https://github.com/sonatype/jvnet-parent","tags":["jersey","http-client","apache","rest","jax-rs"],"install":[{"cmd":"<dependency>\n  <groupId>com.sun.jersey.contribs</groupId>\n  <artifactId>jersey-apache-client4</artifactId>\n  <version>1.19.4</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.sun.jersey.contribs:jersey-apache-client4:1.19.4'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"ApacheHttpClient4","correct":"com.sun.jersey.client.apache4.ApacheHttpClient4"}],"quickstart":{"code":"import com.sun.jersey.client.apache4.ApacheHttpClient4;\nimport com.sun.jersey.api.client.Client;\n\npublic class Example {\n    public static void main(String[] args) {\n        Client client = ApacheHttpClient4.create();\n        String response = client.resource(\"https://api.example.com\").get(String.class);\n        System.out.println(response);\n    }\n}","lang":"java","description":"Creates an Apache HttpClient 4-based Jersey client and performs a GET request."},"warnings":[{"fix":"For Jersey 2.x, use org.glassfish.jersey.core:jersey-client with ApacheConnectorProvider.","message":"This is a legacy Jersey 1.x extension; Jersey 2.x uses a different client API.","severity":"breaking","affected_versions":">=1.0"}],"env_vars":null,"search_vec":"'4':5,12 'apach':2,10,28 'client':4,18,27 'communic':23 'extens':7 'http':3,17,26 'http-client':25 'httpclient':11 'integr':9 'jax':31 'jax-r':30 'jersey':1,6,24 'rest':20,29 'rs':32 'servic':22 'under':16 'web':21 'x':13","created_at":"2026-06-17T17:24:02.698702+00:00","updated_at":"2026-06-17T17:24:02.698702+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://jersey.java.net/","github":"https://github.com/sonatype/jvnet-parent","docs":"https://appdoc.app/artifact/com.sun.jersey.contribs/jersey-apache-client4/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-client","networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}