Module: HTTP

Defined in:
lib/http_client/status.rb,
lib/http_client/mri/client.rb,
lib/http_client/mri/methods.rb,
lib/http_client/jruby/client.rb,
lib/http_client/mri/response.rb,
lib/http_client/jruby/methods.rb,
lib/http_client/jruby/response.rb,
lib/http_client/jruby/client_configuration.rb

Defined Under Namespace

Modules: Status Classes: Client, ClientConfiguration, Cookies, Delete, Get, Head, Headers, Options, Patch, Post, Put, Request, Response

Constant Summary collapse

DefaultHttpClient =
org.apache.http.impl.client.DefaultHttpClient
BasicResponseHandler =
org.apache.http.impl.client.BasicResponseHandler
SocketTimeoutException =
java.net.SocketTimeoutException
BasicHttpParams =
org.apache.http.params.BasicHttpParams
HttpHost =
org.apache.http.HttpHost
CoreProtocolPNames =
org.apache.http.params.CoreProtocolPNames
CoreConnectionPNames =
org.apache.http.params.CoreConnectionPNames
ConnRoutePNames =
org.apache.http.conn.params.ConnRoutePNames
CookieSpecPNames =
org.apache.http.cookie.params.CookieSpecPNames
AuthPNames =
org.apache.http.auth.params.AuthPNames
ClientPNames =
org.apache.http.client.params.ClientPNames
CookiePolicy =
org.apache.http.client.params.CookiePolicy
CLIENT_CONFIGURATION_PARAMETERS =
{
    :protocol_version => HTTP::CoreProtocolPNames::PROTOCOL_VERSION,
    :strict_transfer_encoding => HTTP::CoreProtocolPNames::STRICT_TRANSFER_ENCODING,
    :http_element_charset => HTTP::CoreProtocolPNames::HTTP_ELEMENT_CHARSET,
    :use_expect_continue => HTTP::CoreProtocolPNames::USE_EXPECT_CONTINUE,
    :wait_for_continue => HTTP::CoreProtocolPNames::WAIT_FOR_CONTINUE,
    :user_agent => HTTP::CoreProtocolPNames::USER_AGENT,
    :tcp_nodelay => HTTP::CoreConnectionPNames.TCP_NODELAY,
    :so_timeout => HTTP::CoreConnectionPNames.SO_TIMEOUT,
    :so_linger => HTTP::CoreConnectionPNames.SO_LINGER,
    :so_reuseaddr => HTTP::CoreConnectionPNames.SO_REUSEADDR,
    :socket_buffer_size => HTTP::CoreConnectionPNames.SOCKET_BUFFER_SIZE,
    :connection_timeout => HTTP::CoreConnectionPNames.CONNECTION_TIMEOUT,
    :max_line_length => HTTP::CoreConnectionPNames.MAX_LINE_LENGTH,
    :max_header_count => HTTP::CoreConnectionPNames.MAX_HEADER_COUNT,
    :stale_connection_check => HTTP::CoreConnectionPNames.STALE_CONNECTION_CHECK,
    # :forced_route             => HTTP::ConnRoutePNames::FORCED_ROUTE, # not implemented
    :local_address => HTTP::ConnRoutePNames::LOCAL_ADDRESS,
    :default_proxy => HTTP::ConnRoutePNames::DEFAULT_PROXY,
    :date_patterns => HTTP::CookieSpecPNames::DATE_PATTERNS,
    :single_cookie_header => HTTP::CookieSpecPNames::SINGLE_COOKIE_HEADER,
    :credential_charset => HTTP::AuthPNames::CREDENTIAL_CHARSET,
    :cookie_policy => HTTP::ClientPNames::COOKIE_POLICY,
    :handle_authentication => HTTP::ClientPNames::HANDLE_AUTHENTICATION,
    :handle_redirects => HTTP::ClientPNames::HANDLE_REDIRECTS,
    :max_redirects => HTTP::ClientPNames::MAX_REDIRECTS,
    :allow_circular_redirects => HTTP::ClientPNames::ALLOW_CIRCULAR_REDIRECTS,
    :virtual_host => HTTP::ClientPNames::VIRTUAL_HOST,
    :default_host => HTTP::ClientPNames::DEFAULT_HOST
    # :default_headers          => HTTP::ClientPNames::DEFAULT_HEADERS, # not implemented
    # :connection_manager_factory_class_name => HTTP::ClientPNames::CONNECTION_MANAGER_FACTORY_CLASS_NAME # not implemented
}