You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Seahorse::Client::Handler
- Inherits:
-
Object
- Object
- Seahorse::Client::Handler
- Defined in:
- aws-sdk-core/lib/seahorse/client/handler.rb
Direct Known Subclasses
Aws::Plugins::DynamoDBCRC32Validation::Handler, Aws::Plugins::DynamoDBSimpleAttributes::Handler, Aws::Plugins::EndpointDiscovery::Handler, Aws::Plugins::EndpointPattern::Handler, Aws::Plugins::GlacierApiVersion::Handler, Aws::Plugins::GlacierChecksums::Handler, Aws::Plugins::Logging::Handler, Aws::Plugins::ParamConverter::Handler, Aws::Plugins::ParamValidator::Handler, Aws::Plugins::RequestSigner::Handler, Aws::Plugins::RetryErrors::Handler, Aws::Plugins::Route53IdFix::Handler, Aws::Plugins::S3ControlDns::Handler, Aws::Plugins::S3GetBucketLocationFix::Handler, Aws::Plugins::S3LocationConstraint::Handler, Aws::Plugins::S3SseCpk::Handler, Aws::Plugins::S3UrlEncodedKeys::Handler, Aws::Plugins::SWFReadTimeouts::Handler, Aws::Plugins::StubResponses::Handler, Plugins::Endpoint::Handler
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#call(context) ⇒ Response
-
#initialize(handler = nil) ⇒ Handler
constructor
A new instance of Handler.
-
#inspect ⇒ Object
Constructor Details
#initialize(handler = nil) ⇒ Handler
Returns a new instance of Handler.
8 9 10 |
# File 'aws-sdk-core/lib/seahorse/client/handler.rb', line 8 def initialize(handler = nil) @handler = handler end |
Instance Attribute Details
#handler ⇒ Handler?
13 14 15 |
# File 'aws-sdk-core/lib/seahorse/client/handler.rb', line 13 def handler @handler end |
Instance Method Details
#call(context) ⇒ Response
17 18 19 |
# File 'aws-sdk-core/lib/seahorse/client/handler.rb', line 17 def call(context) @handler.call(context) end |
#inspect ⇒ Object
21 22 23 |
# File 'aws-sdk-core/lib/seahorse/client/handler.rb', line 21 def inspect "#<#{self.class.name||'UnnamedHandler'} @handler=#{@handler.inspect}>" end |