Class: CurlApacheMirrorDownloadStrategy
- Inherits:
-
CurlDownloadStrategy
- Object
- AbstractDownloadStrategy
- AbstractFileDownloadStrategy
- CurlDownloadStrategy
- CurlApacheMirrorDownloadStrategy
- Defined in:
- download_strategy.rb
Overview
Strategy for downloading a file from an Apache Mirror URL.
Instance Attribute Summary
Attributes inherited from AbstractDownloadStrategy
#cache, #cached_location, #url
Instance Method Summary collapse
Methods inherited from CurlDownloadStrategy
#clear_cache, #fetch, #initialize, #resolved_time_file_size
Methods included from Utils::Curl
clear_path_cache, curl, curl_args, curl_check_http_content, curl_download, curl_executable, curl_headers, curl_http_content_headers_and_checksum, curl_output, curl_path, curl_response_follow_redirections, curl_response_last_location, curl_supports_fail_with_body?, curl_supports_tls13?, curl_version, curl_with_workarounds, http_status_ok?, parse_curl_output, url_protected_by_cloudflare?, url_protected_by_incapsula?
Methods included from SystemCommand::Mixin
#system_command, #system_command!
Methods inherited from AbstractFileDownloadStrategy
#basename, #cached_location, #symlink_location, #temporary_path
Methods inherited from AbstractDownloadStrategy
#basename, #clear_cache, #fetch, #initialize, #quiet!, #quiet?, #source_modified_time, #stage
Methods included from Context
current, current=, #debug?, #quiet?, #verbose?, #with_context
Constructor Details
This class inherits a constructor from CurlDownloadStrategy
Instance Method Details
#mirrors ⇒ Object
636 637 638 |
# File 'download_strategy.rb', line 636 def mirrors combined_mirrors end |