18 #ifndef NET_INSTAWEB_SYSTEM_PUBLIC_ADMIN_SITE_H_
19 #define NET_INSTAWEB_SYSTEM_PUBLIC_ADMIN_SITE_H_
21 #include "pagespeed/kernel/base/basictypes.h"
22 #include "pagespeed/kernel/base/string_util.h"
24 namespace net_instaweb {
35 class StaticAssetManager;
37 class SystemCachePath;
39 class SystemRewriteOptions;
55 MessageHandler* message_handler);
64 const QueryParams& query_params, AsyncFetch* fetch,
65 Statistics* statistics);
73 Writer* writer, SystemRewriteOptions* global_system_rewrite_options);
78 void AdminPage(
bool is_global,
const GoogleUrl& stripped_gurl,
79 const QueryParams& query_params,
80 const RewriteOptions* options,
81 SystemCachePath* cache_path,
82 AsyncFetch* fetch, SystemCaches* system_caches,
83 CacheInterface* filesystem_metadata_cache,
84 HTTPCache* http_cache, CacheInterface* metadata_cache,
85 PropertyCache* page_property_cache,
86 ServerContext* server_context, Statistics* statistics,
88 SystemRewriteOptions* global_system_rewrite_options,
89 const SystemRewriteOptions* spdy_config);
96 void StatisticsPage(
bool is_global,
const QueryParams& query_params,
97 const RewriteOptions* options, AsyncFetch* fetch,
98 SystemCaches* system_caches,
99 CacheInterface* filesystem_metadata_cache,
100 HTTPCache* http_cache, CacheInterface* metadata_cache,
101 PropertyCache* page_property_cache,
102 ServerContext* server_context, Statistics* statistics,
104 SystemRewriteOptions* global_system_rewrite_options,
105 const SystemRewriteOptions* spdy_config);
109 Statistics* statistics);
123 AsyncFetch* fetch, Statistics* stats);
132 const QueryParams& query_params, AsyncFetch* fetch,
137 const SystemRewriteOptions* spdy_config);
141 SystemRewriteOptions* global_system_rewrite_options);
146 const GoogleUrl& stripped_gurl,
147 const QueryParams& query_params,
148 const RewriteOptions* options,
149 SystemCachePath* cache_path,
150 AsyncFetch* fetch, SystemCaches* system_caches,
151 CacheInterface* filesystem_metadata_cache,
152 HTTPCache* http_cache, CacheInterface* metadata_cache,
153 PropertyCache* page_property_cache,
154 ServerContext* server_context);
160 void PurgeHandler(StringPiece url, SystemCachePath* cache_path,
167 MessageHandler* message_handler_;
Definition: static_asset_manager.h:44
void ConsoleJsonHandler(const QueryParams ¶ms, AsyncFetch *fetch, Statistics *statistics)
Returns JSON used by the PageSpeed Console JavaScript.
void StatisticsPage(bool is_global, const QueryParams &query_params, const RewriteOptions *options, AsyncFetch *fetch, SystemCaches *system_caches, CacheInterface *filesystem_metadata_cache, HTTPCache *http_cache, CacheInterface *metadata_cache, PropertyCache *page_property_cache, ServerContext *server_context, Statistics *statistics, Statistics *stats, SystemRewriteOptions *global_system_rewrite_options, const SystemRewriteOptions *spdy_config)
void PrintSpdyConfig(AdminSource source, AsyncFetch *fetch, const SystemRewriteOptions *spdy_config)
Print details fo the SPDY configuration.
void PrintCaches(bool is_global, AdminSource source, const GoogleUrl &stripped_gurl, const QueryParams &query_params, const RewriteOptions *options, SystemCachePath *cache_path, AsyncFetch *fetch, SystemCaches *system_caches, CacheInterface *filesystem_metadata_cache, HTTPCache *http_cache, CacheInterface *metadata_cache, PropertyCache *page_property_cache, ServerContext *server_context)
void AdminPage(bool is_global, const GoogleUrl &stripped_gurl, const QueryParams &query_params, const RewriteOptions *options, SystemCachePath *cache_path, AsyncFetch *fetch, SystemCaches *system_caches, CacheInterface *filesystem_metadata_cache, HTTPCache *http_cache, CacheInterface *metadata_cache, PropertyCache *page_property_cache, ServerContext *server_context, Statistics *statistics, Statistics *stats, SystemRewriteOptions *global_system_rewrite_options, const SystemRewriteOptions *spdy_config)
void PrintNormalConfig(AdminSource source, AsyncFetch *fetch, SystemRewriteOptions *global_system_rewrite_options)
Print details fo the non-SPDY configuration.
void MessageHistoryHandler(const RewriteOptions &options, AdminSource source, AsyncFetch *fetch)
Displays recent Info/Warning/Error messages.: public ServerContext.
MessageHandler * MessageHandlerForTesting()
Return the message handler for debugging use.
Definition: admin_site.h:164
void StatisticsGraphsHandler(Writer *writer, SystemRewriteOptions *global_system_rewrite_options)
Deprecated handler for graphs in the PSOL console.
void GraphsHandler(const RewriteOptions &options, AdminSource source, const QueryParams &query_params, AsyncFetch *fetch, Statistics *stats)
AdminSource
Definition: admin_site.h:52
Implements the /pagespeed_admin pages.
Definition: admin_site.h:44
void PrintHistograms(AdminSource source, AsyncFetch *fetch, Statistics *stats)
Print histograms showing the dynamics of server activity.
void ConsoleHandler(const SystemRewriteOptions &global_options, const RewriteOptions &options, AdminSource source, const QueryParams &query_params, AsyncFetch *fetch, Statistics *statistics)
void StatisticsHandler(const RewriteOptions &options, AdminSource source, AsyncFetch *fetch, Statistics *stats)
void StatisticsJsonHandler(AsyncFetch *fetch, Statistics *stats)