Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Public Attributes | List of all members
cWebadminRequestData Class Reference

The form parser callbacks for requests in the "/webadmin" and "/~webadmin" paths. More...

Inheritance diagram for cWebadminRequestData:
Inheritance graph
[legend]
Collaboration diagram for cWebadminRequestData:
Collaboration graph
[legend]

Public Member Functions

 cWebadminRequestData (const cHTTPIncomingRequest &a_Request)
 
virtual void OnFileData (cHTTPFormParser &, const char *a_Data, size_t a_Size) override
 Called when more file data has come for the current file in the form data. More...
 
virtual void OnFileEnd (cHTTPFormParser &) override
 Called when the current file part has ended in the form data. More...
 
virtual void OnFileStart (cHTTPFormParser &, const AString &a_FileName) override
 Called when a new file part is encountered in the form data. More...
 
- Public Member Functions inherited from cHTTPFormParser::cCallbacks
virtual ~cCallbacks ()
 
- Public Member Functions inherited from cHTTPIncomingRequest::cUserData
virtual ~cUserData ()
 

Public Attributes

cHTTPFormParser m_Form
 

Detailed Description

The form parser callbacks for requests in the "/webadmin" and "/~webadmin" paths.

Definition at line 28 of file WebAdmin.cpp.

Constructor & Destructor Documentation

◆ cWebadminRequestData()

cWebadminRequestData::cWebadminRequestData ( const cHTTPIncomingRequest a_Request)
inline

Definition at line 36 of file WebAdmin.cpp.

Member Function Documentation

◆ OnFileData()

virtual void cWebadminRequestData::OnFileData ( cHTTPFormParser a_Parser,
const char *  a_Data,
size_t  a_Size 
)
inlineoverridevirtual

Called when more file data has come for the current file in the form data.

Implements cHTTPFormParser::cCallbacks.

Definition at line 46 of file WebAdmin.cpp.

◆ OnFileEnd()

virtual void cWebadminRequestData::OnFileEnd ( cHTTPFormParser a_Parser)
inlineoverridevirtual

Called when the current file part has ended in the form data.

Implements cHTTPFormParser::cCallbacks.

Definition at line 51 of file WebAdmin.cpp.

◆ OnFileStart()

virtual void cWebadminRequestData::OnFileStart ( cHTTPFormParser a_Parser,
const AString a_FileName 
)
inlineoverridevirtual

Called when a new file part is encountered in the form data.

Implements cHTTPFormParser::cCallbacks.

Definition at line 42 of file WebAdmin.cpp.

Member Data Documentation

◆ m_Form

cHTTPFormParser cWebadminRequestData::m_Form

Definition at line 33 of file WebAdmin.cpp.


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