Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
UrlHandler (const UrlCallback &cb, const std::string &template_filename, bool is_on_nav_bar) | |
bool | is_on_nav_bar () const |
const UrlCallback & | callback () const |
const std::string & | template_filename () const |
Private Attributes | |
bool | is_on_nav_bar_ |
If true, the page appears in the navigation bar. More... | |
UrlCallback | template_callback_ |
Callback to produce a Json document to render via a template. More... | |
std::string | template_filename_ |
Contains all information relevant to rendering one Url. Each Url has one callback that produces the output to render. The callback either produces a Json document which is rendered via a template file, or it produces an HTML string that is embedded directly into the output.
Definition at line 82 of file webserver.h.
|
inline |
Definition at line 84 of file webserver.h.
|
inline |
Definition at line 90 of file webserver.h.
References template_callback_.
Referenced by impala::Webserver::BeginRequestCallback().
|
inline |
Definition at line 89 of file webserver.h.
References is_on_nav_bar_.
|
inline |
Definition at line 91 of file webserver.h.
References template_filename_.
Referenced by impala::Webserver::BeginRequestCallback().
|
private |
If true, the page appears in the navigation bar.
Definition at line 95 of file webserver.h.
Referenced by is_on_nav_bar().
|
private |
Callback to produce a Json document to render via a template.
Definition at line 98 of file webserver.h.
Referenced by callback().
|
private |
Path to the file that contains the template to render, relative to the webserver's document root.
Definition at line 102 of file webserver.h.
Referenced by template_filename().