Class AWS::Core::Http::NetHttpHandler
In: lib/aws/core/http/net_http_handler.rb
Parent: Object

# NetHttpHandler

This is the default HTTP handler for the aws-sdk gem. It uses Ruby‘s Net::HTTP to make requests. It uses persistent connections and a connection pool.

Methods

Classes and Modules

Class AWS::Core::Http::NetHttpHandler::TruncatedBodyError

Constants

NETWORK_ERRORS = [ SocketError, EOFError, IOError, Timeout::Error, Errno::ECONNABORTED, Errno::ECONNRESET, Errno::EPIPE, Errno::EINVAL, Errno::ETIMEDOUT, OpenSSL::SSL::SSLError   @api private

Attributes

pool  [R]  @return [ConnectionPool]

Public Class methods

Public Instance methods

Given a populated request object and an empty response object, this method will make the request and them populate the response. @param [Request] request @param [Response] response @return [nil]

Protected Instance methods

Given an AWS::Core::HttpRequest, this method translates it into a Net::HTTPRequest (Get, Put, Post, Head or Delete). @param [Request] request @return [Net::HTTPRequest]

[Validate]