|
| HttpDumpUrlFetcher (const StringPiece &root_dir, FileSystem *file_system, Timer *timer) |
|
bool | GetFilename (const GoogleUrl &url, GoogleString *filename, MessageHandler *message_handler) |
| Non-static version that uses the fetcher's root dir.
|
|
virtual void | Fetch (const GoogleString &url, MessageHandler *message_handler, AsyncFetch *fetch) |
| This is a synchronous/blocking implementation.
|
|
bool | ParseFile (FileSystem::InputFile *file, ResponseHeaders *response_headers, Writer *response_writer, MessageHandler *handler) |
|
void | RespondError (ResponseHeaders *response_headers, Writer *response_writer, MessageHandler *handler) |
| Helper function to return a generic error response.
|
|
void | set_print_urls (bool on) |
| Print URLs each time they are fetched.
|
|
virtual bool | SupportsHttps () const |
|
virtual int64 | timeout_ms () |
|
virtual void | ShutDown () |
|
void | set_fetch_with_gzip (bool x) |
|
bool | fetch_with_gzip () const |
|
AsyncFetch * | EnableInflation (AsyncFetch *fetch) const |
|
- Todo:
- TODO(sligocki): Can we forward declare these somehow? class FileSystem; class FileSystem::InputFile;
HttpDumpFetcher fetches raw HTTP dumps from the filesystem. These dumps could be compressed or chunked, the fetcher does not decompress or de-chunk them.