I've been searching for a java http client for one of my projects. then I came across a simple library called jakartha commons client. As it turns out, this library is at it's end of life. So I was wondering a good library implementation of http client. After many tryouts, it seems apache http components is the go to library for general needs of http client.
http://hc.apache.org/
However if you are a spring user, then spring also provides facilities for http client requests.
http://docs.spring.io/spring/docs/3.0.x/api/org/springframework/http/client/package-summary.html
Having said that, the scope of this implementation is very limited. So my personal preference is apache http components over spring implementation, unless the requirement is very basic.
http://hc.apache.org/
However if you are a spring user, then spring also provides facilities for http client requests.
http://docs.spring.io/spring/docs/3.0.x/api/org/springframework/http/client/package-summary.html
Having said that, the scope of this implementation is very limited. So my personal preference is apache http components over spring implementation, unless the requirement is very basic.
No comments:
Post a Comment