Class: Seahorse::Client::Handler
  
  
  
  
  
    - Inherits:
- 
      Object
      
        
          - Object
- Seahorse::Client::Handler
 show all
    - Defined in:
- lib/seahorse/client/handler.rb
 
  Direct Known Subclasses
  Aws::Binary::DecodeHandler, Aws::Binary::EncodeHandler, Aws::ErrorHandler, Aws::Json::Handler, Aws::Plugins::APIGAuthorizerToken::AuthTokenHandler, Aws::Plugins::APIGUserAgent::Handler, Aws::Plugins::ApiKey::ApiKeyHandler, Aws::Plugins::ApiKey::OptionHandler, Aws::Plugins::BearerAuthorization::Handler, Aws::Plugins::ChecksumAlgorithm::ChecksumHandler, Aws::Plugins::ChecksumAlgorithm::OptionHandler, Aws::Plugins::ClientMetricsPlugin::Handler, Aws::Plugins::ClientMetricsSendPlugin::AttemptHandler, Aws::Plugins::ClientMetricsSendPlugin::ErrorHandler, Aws::Plugins::ClientMetricsSendPlugin::LatencyHandler, Aws::Plugins::EndpointDiscovery::Handler, Aws::Plugins::EndpointPattern::Handler, Aws::Plugins::HelpfulSocketErrors::Handler, Aws::Plugins::HttpChecksum::Handler, Aws::Plugins::IdempotencyToken::Handler, Aws::Plugins::InvocationId::Handler, Aws::Plugins::JsonvalueConverter::Handler, Aws::Plugins::Logging::Handler, Aws::Plugins::ParamConverter::Handler, Aws::Plugins::ParamValidator::Handler, Aws::Plugins::Protocols::ApiGateway::ContentTypeHandler, Aws::Plugins::RecursionDetection::Handler, Aws::Plugins::RequestCompression::CompressionHandler, Aws::Plugins::ResponsePaging::Handler, Aws::Plugins::RetryErrors::Handler, Aws::Plugins::RetryErrors::LegacyHandler, Aws::Plugins::Sign::Handler, Aws::Plugins::SignatureV2::Handler, Aws::Plugins::SignatureV4::Handler, Aws::Plugins::StubResponses::ApiRequestsHandler, Aws::Plugins::StubResponses::StubbingHandler, Aws::Plugins::Telemetry::Handler, Aws::Plugins::TransferEncoding::Handler, Aws::Plugins::UserAgent::Handler, Aws::Query::Handler, Aws::Rest::ContentTypeHandler, Aws::Rest::Handler, Aws::RpcV2::ContentTypeHandler, Aws::RpcV2::Handler, Aws::SSO::Plugins::Endpoints::Handler, Aws::SSOOIDC::Plugins::Endpoints::Handler, Aws::STS::Plugins::Endpoints::Handler, Seahorse::Client::H2::Handler, Logging::Handler, NetHttp::Handler, Plugins::ContentLength::Handler, Plugins::Endpoint::Handler, Plugins::RaiseResponseErrors::Handler, Plugins::RequestCallback::OptionHandler, Plugins::RequestCallback::ReadCallbackHandler, Plugins::ResponseTarget::Handler
 
  Instance Attribute Summary collapse
  
  
    
      Instance Method Summary
      collapse
    
    
  
  Constructor Details
  
    
  
  
    #initialize(handler = nil)  ⇒ Handler 
  
  
  
  
    
Returns a new instance of Handler.
   
 
  
    | 
10
11
12 | # File 'lib/seahorse/client/handler.rb', line 10
def initialize(handler = nil)
  @handler = handler
end | 
 
  
 
  
    Instance Attribute Details
    
      
      
      
  
  
    | 
15
16
17 | # File 'lib/seahorse/client/handler.rb', line 15
def handler
  @handler
end | 
 
    
   
  
    Instance Method Details
    
      
  
  
    #call(context)  ⇒ Seahorse::Response 
  
  
  
  
    | 
19
20
21 | # File 'lib/seahorse/client/handler.rb', line 19
def call(context)
  @handler.call(context)
end | 
 
    
      
  
  
    #inspect  ⇒ Object 
  
  
  
  
    | 
23
24
25 | # File 'lib/seahorse/client/handler.rb', line 23
def inspect
  "#<#{self.class.name||'UnnamedHandler'} @handler=#{@handler.inspect}>"
end |