Jersey Client – Apache HTTP Client 4.x integration

Since this week, Jersey users can benefit from Apache HTTP Client 4.x integration. “jersey-apache-http-client4″ module has been finalized and provides similar functionality as “jersey-apache-http-client”, but make sure you read javadoc – most of settings have changes because of major change in Apache HTTP Client API.

How to start with Jersey and Apache HTTP Client 4.x?
Add following dependency:


com.sun.jersey.contribs
jersey-apache-http-client4
1.7-SNAPSHOT

And you can instantiate new client for example like described in Javadoc: package com.sun.jersey.client.apache4.

This entry was posted in java and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>