Page Speed Optimization Libraries
1.7.30.2
|
Public Member Functions | |
SystemRequestContext (AbstractMutex *logging_mutex, Timer *timer, int local_port, StringPiece local_ip) | |
void | set_url (StringPiece url) |
int | local_port () const |
const GoogleString & | local_ip () const |
StringPiece | url () const |
Static Public Member Functions | |
static SystemRequestContext * | DynamicCast (RequestContext *rc) |
static SystemRequestContext* net_instaweb::SystemRequestContext::DynamicCast | ( | RequestContext * | rc | ) | [static] |
Returns rc as a SystemRequestContext* if it is one and CHECK fails if it is not. Returns NULL if rc is NULL.
Reimplemented in net_instaweb::ApacheRequestContext.
void net_instaweb::SystemRequestContext::set_url | ( | StringPiece | url | ) | [inline] |
Captures the original URL of the request, which is used to help authorize domains for fetches we do on behalf of that request.