This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Alternatives to HttpClient? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Alternatives to HttpClient?" Watch "Alternatives to HttpClient?" New topic
Author

Alternatives to HttpClient?

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63227
    
  69

I really like Jakarta Commons HttpClient for generating HTTP requests from Java code, but I'm running up against some of its limitations.

Is there any other good alternative that y'all are using out there?
[ November 17, 2008: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19728
    
  10

That's what I use, too. Are these limitations something you can work on yourself, given that the source code is available?
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

Originally posted by Bear Bibeault:
I really like Jakarta Commons HttpClient for generating HTTP requests from Java code, but I'm running up against some of its limitations. Is there any other good alternative that y'all are using out there?
]


I wrote my own, mostly because there weren't any libraries when I needed it back in last century.

What limitations in particular?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63227
    
  69

The limitation is what I'm asking about here; the inability to pass a request body on a GET.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63227
    
  69

In best Roseanne Roseannadanna form: Never mind.
[ November 20, 2008: Message edited by: Bear Bibeault ]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Alternatives to HttpClient?
 
It's not a secret anymore!