Page Speed Optimization Libraries  1.8.31.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Attributes
net_instaweb::ProxyUrlNamer Class Reference

#include "proxy_interface_test_base.h"

Inheritance diagram for net_instaweb::ProxyUrlNamer:
net_instaweb::UrlNamer

List of all members.

Public Member Functions

virtual bool Decode (const GoogleUrl &gurl, GoogleUrl *domain, GoogleString *decoded) const
 Given the request_url, generate the original url.
virtual bool IsAuthorized (const GoogleUrl &gurl, const RewriteOptions &options) const
void set_authorized (bool authorized)

Static Public Attributes

static const char kProxyHost []

Detailed Description

Creates a proxy URL naming rule that encodes an "owner" domain and an "origin" domain, all inside a fixed proxy-domain.


Member Function Documentation

virtual bool net_instaweb::ProxyUrlNamer::IsAuthorized ( const GoogleUrl &  request_url,
const RewriteOptions options 
) const [inline, virtual]

Determines whether the provided request URL is authorized given the RewriteOptions.

The default implementation uses the domain lawyer in the options.

Reimplemented from net_instaweb::UrlNamer.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines