#include "proxy_interface.h"
|
| ProxyInterface (const StringPiece &hostname, int port, ServerContext *server_context, Statistics *stats) |
|
virtual void | Fetch (const GoogleString &requested_url, MessageHandler *handler, AsyncFetch *async_fetch) |
|
bool | IsWellFormedUrl (const GoogleUrl &url) |
| Is this url_string well-formed enough to proxy through?
|
|
virtual
ProxyFetchPropertyCallbackCollector * | InitiatePropertyCacheLookup (bool is_resource_fetch, const GoogleUrl &request_url, RewriteOptions *options, AsyncFetch *async_fetch, const bool requires_blink_cohort, bool *added_page_property_callback) |
| Initiates the PropertyCache look up.
|
|
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 |
|
|
static void | InitStats (Statistics *statistics) |
| Initializes statistics variables associated with this class.
|
|
|
static const char | kCacheHtmlRequestCount [] |
|
static const int64 | kUnspecifiedTimeout |
|
static const char | kStatisticsGroup [] |
| Default statistics group name.
|
|
- Todo:
- TODO(sligocki): Rename as per style-guide.
virtual void net_instaweb::ProxyInterface::Fetch |
( |
const GoogleString & |
requested_url, |
|
|
MessageHandler * |
handler, |
|
|
AsyncFetch * |
async_fetch |
|
) |
| |
|
virtual |
All requests use this interface. We decide internally whether the request is a pagespeed resource, HTML page to be rewritten or another resource to be proxied directly.
Implements net_instaweb::UrlAsyncFetcher.
Needed by subclasses when overriding InitiatePropertyCacheLookup.
thread-safe, unowned
The documentation for this class was generated from the following file: