Page Speed Optimization Libraries
1.13.35.1
|
#include "http_dump_url_async_writer.h"
Public Member Functions | |
HttpDumpUrlAsyncWriter (const StringPiece &root_dir, UrlAsyncFetcher *base_fetcher, FileSystem *file_system, Timer *timer) | |
virtual bool | SupportsHttps () const |
virtual void | Fetch (const GoogleString &url, MessageHandler *handler, AsyncFetch *base_fetch) |
This is a synchronous/blocking implementation. | |
void | set_accept_gzip (bool x) |
void | set_print_urls (bool on) |
Print URLs each time they are fetched. | |
![]() | |
virtual int64 | timeout_ms () |
virtual void | ShutDown () |
void | set_fetch_with_gzip (bool x) |
bool | fetch_with_gzip () const |
AsyncFetch * | EnableInflation (AsyncFetch *fetch) const |
Additional Inherited Members | |
![]() | |
static const int64 | kUnspecifiedTimeout |
![]() | |
UrlAsyncFetcher () | |
HttpDumpWriter checks to see whether the HTTP dump is available on the filesystem. If not, it fetches it from another fetcher (e.g. one that uses the network) and writes it to the filesystem so that HttpDumpFetcher can find it.
|
inline |
Controls whether we will request and save gzipped content to the file system. Note that http_dump_url_fetcher will inflate on read if its caller does not want gzipped output.
|
inlinevirtual |
Determine if the fetcher supports fetching using HTTPS. By default we assume a fetcher can.
Reimplemented from net_instaweb::UrlAsyncFetcher.