Page Speed Optimization Libraries  1.4.26.1
 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
virtual void DecodeOptions (const GoogleUrl &request_url, const RequestHeaders &request_headers, Callback *callback, MessageHandler *handler) const
 Given the request url and request headers, generate the rewrite options.
void set_authorized (bool authorized)
void set_options (RewriteOptions *options)

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