#include <HttpPages.h>
Inherits BaseStatPagesHandler.
Public Member Functions | |
HttpPagesHandler (Continuation *cont, HTTPHdr *header) | |
~HttpPagesHandler () | |
int | handle_smlist (int event, void *edata) |
int | handle_smdetails (int event, void *edata) |
int | handle_callback (int event, void *edata) |
Data Fields | |
Action | action |
Definition at line 57 of file HttpPages.h.
HttpPagesHandler::HttpPagesHandler | ( | Continuation * | cont, | |
HTTPHdr * | header | |||
) |
Definition at line 39 of file HttpPages.cc.
References action, handle_smdetails(), handle_smlist(), URL::path_get(), URL::query_get(), SET_HANDLER, Arena::str_free(), Arena::str_store(), and HTTPHdr::url_get().
HttpPagesHandler::~HttpPagesHandler | ( | ) |
Definition at line 66 of file HttpPages.cc.
int HttpPagesHandler::handle_callback | ( | int | event, | |
void * | edata | |||
) |
Definition at line 431 of file HttpPages.cc.
References action, ats_strdup, Action::cancelled, Action::continuation, StatPageData::data, ET_CALL, eventProcessor, Continuation::handleEvent(), HTTP_LIST_RETRY, StatPageData::length, Action::mutex, MUTEX_TRY_LOCK, BaseStatPagesHandler::response, BaseStatPagesHandler::response_length, EventProcessor::schedule_in(), SET_HANDLER, STAT_PAGE_FAILURE, STAT_PAGE_SUCCESS, this_ethread(), and StatPageData::type.
Referenced by handle_smdetails(), and handle_smlist().
int HttpPagesHandler::handle_smdetails | ( | int | event, | |
void * | edata | |||
) |
Definition at line 275 of file HttpPages.cc.
References ET_CALL, EVENT_IMMEDIATE, EVENT_INTERVAL, EVENT_NONE, eventProcessor, handle_callback(), HTTP_LIST_BUCKETS, HTTP_LIST_RETRY, ink_assert, Continuation::mutex, MUTEX_TRY_LOCK, BaseStatPagesHandler::resp_add(), BaseStatPagesHandler::resp_begin(), BaseStatPagesHandler::resp_begin_item(), BaseStatPagesHandler::resp_end(), BaseStatPagesHandler::resp_end_item(), EventProcessor::schedule_in(), HttpSM::sm_id, and this_ethread().
Referenced by HttpPagesHandler().
int HttpPagesHandler::handle_smlist | ( | int | event, | |
void * | edata | |||
) |
Definition at line 351 of file HttpPages.cc.
References ET_CALL, EVENT_IMMEDIATE, EVENT_INTERVAL, EVENT_NONE, eventProcessor, HttpDebugNames::get_action_name(), handle_callback(), HttpTransact::State::hdr_info, HTTP_LIST_BUCKETS, HTTP_LIST_RETRY, ink_assert, Continuation::mutex, MUTEX_TRY_LOCK, HttpTransact::State::next_action, BaseStatPagesHandler::resp_add(), BaseStatPagesHandler::resp_begin(), BaseStatPagesHandler::resp_begin_item(), BaseStatPagesHandler::resp_end(), BaseStatPagesHandler::resp_end_item(), EventProcessor::schedule_in(), HttpSM::sm_id, Arena::str_free(), Arena::str_store(), URL::string_get(), HttpSM::t_state, this_ethread(), and URL::valid().
Referenced by HttpPagesHandler().
Definition at line 66 of file HttpPages.h.
Referenced by handle_callback(), http_pages_callback(), and HttpPagesHandler().