Static Public Member Functions

HttpDebugNames Class Reference

#include <HttpDebugNames.h>

Static Public Member Functions

static const char * get_event_name (int event)
static const char * get_action_name (HttpTransact::StateMachineAction_t e)
static const char * get_method_name (const char *method)
static const char * get_cache_action_name (HttpTransact::CacheAction_t t)
static const char * get_api_hook_name (TSHttpHookID t)
static const char * get_server_state_name (HttpTransact::ServerState_t state)

Detailed Description

Definition at line 30 of file HttpDebugNames.h.


Member Function Documentation

const char * HttpDebugNames::get_action_name ( HttpTransact::StateMachineAction_t  e  )  [static]

Definition at line 266 of file HttpDebugNames.cc.

References HttpTransact::SM_ACTION_API_CACHE_LOOKUP_COMPLETE, HttpTransact::SM_ACTION_API_OS_DNS, HttpTransact::SM_ACTION_API_POST_REMAP, HttpTransact::SM_ACTION_API_PRE_REMAP, HttpTransact::SM_ACTION_API_READ_CACHE_HDR, HttpTransact::SM_ACTION_API_READ_REQUEST_HDR, HttpTransact::SM_ACTION_API_READ_RESPONSE_HDR, HttpTransact::SM_ACTION_API_SEND_REQUEST_HDR, HttpTransact::SM_ACTION_API_SEND_RESPONSE_HDR, HttpTransact::SM_ACTION_API_SM_SHUTDOWN, HttpTransact::SM_ACTION_API_SM_START, HttpTransact::SM_ACTION_CACHE_ISSUE_UPDATE, HttpTransact::SM_ACTION_CACHE_ISSUE_WRITE, HttpTransact::SM_ACTION_CACHE_ISSUE_WRITE_TRANSFORM, HttpTransact::SM_ACTION_CACHE_LOOKUP, HttpTransact::SM_ACTION_CACHE_PREPARE_UPDATE, HttpTransact::SM_ACTION_CONTINUE, HttpTransact::SM_ACTION_DNS_LOOKUP, HttpTransact::SM_ACTION_DNS_REVERSE_LOOKUP, HttpTransact::SM_ACTION_ICP_QUERY, HttpTransact::SM_ACTION_INTERNAL_100_RESPONSE, HttpTransact::SM_ACTION_INTERNAL_CACHE_DELETE, HttpTransact::SM_ACTION_INTERNAL_CACHE_NOOP, HttpTransact::SM_ACTION_INTERNAL_CACHE_UPDATE_HEADERS, HttpTransact::SM_ACTION_INTERNAL_CACHE_WRITE, HttpTransact::SM_ACTION_INTERNAL_REQUEST, HttpTransact::SM_ACTION_ORIGIN_SERVER_OPEN, HttpTransact::SM_ACTION_ORIGIN_SERVER_RAW_OPEN, HttpTransact::SM_ACTION_ORIGIN_SERVER_RR_MARK_DOWN, HttpTransact::SM_ACTION_POST_REMAP_SKIP, HttpTransact::SM_ACTION_READ_PUSH_HDR, HttpTransact::SM_ACTION_REDIRECT_READ, HttpTransact::SM_ACTION_REMAP_REQUEST, HttpTransact::SM_ACTION_SEND_ERROR_CACHE_NOOP, HttpTransact::SM_ACTION_SERVE_FROM_CACHE, HttpTransact::SM_ACTION_SERVER_PARSE_NEXT_HDR, HttpTransact::SM_ACTION_SERVER_READ, HttpTransact::SM_ACTION_SSL_TUNNEL, HttpTransact::SM_ACTION_STORE_PUSH_BODY, HttpTransact::SM_ACTION_TRANSFORM_READ, and HttpTransact::SM_ACTION_UNDEFINED.

Referenced by HttpSM::call_transact_and_set_next_state(), and HttpPagesHandler::handle_smlist().

const char * HttpDebugNames::get_api_hook_name ( TSHttpHookID  t  )  [static]
const char * HttpDebugNames::get_cache_action_name ( HttpTransact::CacheAction_t  t  )  [static]
const char * HttpDebugNames::get_event_name ( int  event  )  [static]

Definition at line 104 of file HttpDebugNames.cc.

References CACHE_EVENT_LOOKUP, CACHE_EVENT_LOOKUP_FAILED, CACHE_EVENT_OPEN_READ, CACHE_EVENT_OPEN_READ_FAILED, CACHE_EVENT_OPEN_WRITE, CACHE_EVENT_OPEN_WRITE_FAILED, CACHE_EVENT_REMOVE, CACHE_EVENT_REMOVE_FAILED, CACHE_EVENT_UPDATE, CACHE_EVENT_UPDATE_FAILED, CONGESTION_EVENT_CONGESTED_ON_F, CONGESTION_EVENT_CONGESTED_ON_M, DNS_EVENT_LOOKUP, EVENT_HOST_DB_GET_RESPONSE, EVENT_HOST_DB_LOOKUP, EVENT_INTERVAL, EVENT_SRV_GET_RESPONSE, EVENT_SRV_IP_REMOVED, EVENT_SRV_LOOKUP, HTTP_API_CONTINUE, HTTP_API_ERROR, HTTP_SCH_UPDATE_EVENT_DELETED, HTTP_SCH_UPDATE_EVENT_ERROR, HTTP_SCH_UPDATE_EVENT_NO_ACTION, HTTP_SCH_UPDATE_EVENT_NOT_CACHED, HTTP_SCH_UPDATE_EVENT_UPDATED, HTTP_SCH_UPDATE_EVENT_WRITTEN, HTTP_TUNNEL_EVENT_CONSUMER_DETACH, HTTP_TUNNEL_EVENT_DONE, HTTP_TUNNEL_EVENT_PRECOMPLETE, ICP_LOOKUP_FAILED, ICP_LOOKUP_FOUND, NET_EVENT_ACCEPT, NET_EVENT_OPEN, NET_EVENT_OPEN_FAILED, STAT_PAGE_FAILURE, STAT_PAGE_SUCCESS, TRANSFORM_READ_READY, VC_EVENT_ACTIVE_TIMEOUT, VC_EVENT_EOS, VC_EVENT_ERROR, VC_EVENT_IMMEDIATE, VC_EVENT_INACTIVITY_TIMEOUT, VC_EVENT_NONE, VC_EVENT_READ_COMPLETE, VC_EVENT_READ_READY, VC_EVENT_WRITE_COMPLETE, and VC_EVENT_WRITE_READY.

Referenced by HttpTunnel::consumer_handler(), ServerSessionPool::eventHandler(), HttpSM::handle_server_setup_error(), HttpUpdateSM::kill_this_async_hook(), UpTest::main_handler(), HttpSM::main_handler(), ActionSink::mainEvent(), HttpTunnel::producer_handler(), HttpTunnel::producer_handler_chunked(), HttpTunnel::producer_handler_dechunked(), HttpSM::state_watch_for_client_abort(), TSHttpEventNameLookup(), and HttpSM::tunnel_handler_cache_write().

const char * HttpDebugNames::get_method_name ( const char *  method  )  [static]
const char * HttpDebugNames::get_server_state_name ( HttpTransact::ServerState_t  state  )  [static]

The documentation for this class was generated from the following files: