|
| SystemRequestContext (AbstractMutex *logging_mutex, Timer *timer, StringPiece hostname, int local_port, StringPiece local_ip) |
|
void | set_url (StringPiece url) |
|
int | local_port () const |
|
const GoogleString & | local_ip () const |
|
StringPiece | url () const |
|
net_instaweb::SystemRequestContext::SystemRequestContext |
( |
AbstractMutex * |
logging_mutex, |
|
|
Timer * |
timer, |
|
|
StringPiece |
hostname, |
|
|
int |
local_port, |
|
|
StringPiece |
local_ip |
|
) |
| |
There are two ways a request may specify the hostname: with the Host header or on the initial request line. Callers need to check both places.
Returns rc as a SystemRequestContext* if it is one and CHECK fails if it is not. Returns NULL if rc is NULL.
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.
The documentation for this class was generated from the following file: