aesterline / jruby-httpclient

A Ruby wrapper for Apache HTTPClient
Apache License 2.0
23 stars 6 forks source link

jruby-httpclient

jruby-httpclient is a thin wrapper around Apache's HttpClient (version 4.1). I found that Net::HTTP was not threadsafe in JRuby. This project is an attempt to make a threadsafe HTTP client for JRuby.

Build Status

Usage

client = HTTP::Client.new(:default_host => "http://localhost:8080")
client.get("/src", :param => "value")
client.post("/create", :param => "value")

Contributing to jruby-httpclient

Copyright

Copyright (c) 2011 Adam Esterline. See LICENSE.txt for further details.