Module: Manticore

Includes:
Facade
Defined in:
lib/manticore.rb,
lib/manticore/client.rb,
lib/manticore/cookie.rb,
lib/manticore/facade.rb,
lib/manticore/version.rb,
lib/manticore/response.rb,
lib/manticore/client/proxies.rb,
lib/manticore/stubbed_response.rb

Overview

HTTP client with the body of a lion and the head of a man. Or more simply, the power of Java with the beauty of Ruby.

Defined Under Namespace

Modules: Facade Classes: Client, ClientProtocolException, ClientStoppedException, ConnectTimeout, Cookie, InvalidArgumentException, LoggingStandardRetryHandler, ManticoreException, ResolutionFailure, Response, SocketException, SocketTimeout, StreamClosedException, StubbedResponse, Timeout, UnknownException

Constant Summary collapse

VERSION =
"0.6.4"

Class Method Summary collapse

Methods included from Facade

included

Class Method Details

.disable_httpcomponents_logging!Object


55
56
57
58
59
# File 'lib/manticore.rb', line 55

def self.disable_httpcomponents_logging!
  props = Java::JavaLang::System.properties
  props.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog")
  props.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http", "error")
end