This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 61103
    
  66

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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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: 4650
    
    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: 61103
    
  66

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: 61103
    
  66

In best Roseanne Roseannadanna form: Never mind.
[ November 20, 2008: Message edited by: Bear Bibeault ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Alternatives to HttpClient?