NCBI C++ ToolKit
Public Member Functions | Private Member Functions | List of all members
CFastCgiMTSampleRequestProcessor Class Reference

Search Toolkit Book for CFastCgiMTSampleRequestProcessor

+ Inheritance diagram for CFastCgiMTSampleRequestProcessor:
+ Collaboration diagram for CFastCgiMTSampleRequestProcessor:

Public Member Functions

 CFastCgiMTSampleRequestProcessor (CFastCgiMTSampleApplication &app)
 ~CFastCgiMTSampleRequestProcessor (void) override
int ProcessRequest (CCgiContext &context) override
 Process request provided by the context. By default calls application's ProcessRequest. More...
- Public Member Functions inherited from CCgiRequestProcessorMT
 CCgiRequestProcessorMT (CFastCgiApplicationMT &app)
virtual ~CCgiRequestProcessorMT (void)
- Public Member Functions inherited from CCgiRequestProcessor
 CCgiRequestProcessor (CCgiApplication &app)
virtual ~CCgiRequestProcessor (void)
const CNcbiResourceGetResource (void) const
CNcbiResourceGetResource (void)
virtual bool ValidateSynchronizationToken (void)
string GetSelfReferer (void) const
 Get self-URL to be used as referer. More...
CCgiApplicationGetApp (void)
const CCgiApplicationGetApp (void) const
CCgiContextGetContext (void)
const CCgiContextGetContext (void) const
void SetContext (shared_ptr< CCgiContext > context)
bool IsSetContext (void) const
CArgsGetArgs (void)
const CArgsGetArgs (void) const
bool IsSetArgs (void) const
CNcbiIstreamGetInputStream (void)
const CNcbiIstreamGetInputStream (void) const
void SetInputStream (CNcbiIstream *in)
bool IsSetInputStream (void) const
CNcbiOstreamGetOutputStream (void)
const CNcbiOstreamGetOutputStream (void) const
void SetOutputStream (CNcbiOstream *out)
bool IsSetOutputStream (void) const
bool GetOutputBroken (void) const
void SetOutputBroken (bool val)
bool GetRequestStartPrinted (void) const
void SetRequestStartPrinted (bool val)
bool GetErrorStatus (void) const
void SetErrorStatus (bool val)
string GetRID (void) const
void SetRID (const string &val)
bool GetResultReady (void) const
void SetResultReady (bool val)

Private Member Functions

void x_LookAtArgs (void)

Additional Inherited Members

- Protected Types inherited from CCgiRequestProcessor
typedef CCgiApplication::TAcceptEntries TAcceptEntries
typedef CCgiApplication::SAcceptEntry TAcceptEntry
- Protected Member Functions inherited from CCgiRequestProcessor
virtual void ProcessHelpRequest (const string &format)
virtual void ProcessVersionRequest (CCgiApplication::EVersionType ver_type)
virtual bool ProcessAdminRequest (CCgiApplication::EAdminCommand cmd)
virtual int OnException (std::exception &e, CNcbiOstream &os)
virtual void OnEvent (CCgiApplication::EEvent event, int status)
void SetHTTPStatus (unsigned int status, const string &reason=kEmptyStr)
void SetRequestId (const string &rid, bool is_done)
void ParseAcceptHeader (TAcceptEntries &entries) const

Detailed Description

Definition at line 71 of file fcgi_mt_sample.cpp.

Constructor & Destructor Documentation

◆ CFastCgiMTSampleRequestProcessor()

CFastCgiMTSampleRequestProcessor::CFastCgiMTSampleRequestProcessor ( CFastCgiMTSampleApplication app)

Definition at line 74 of file fcgi_mt_sample.cpp.

◆ ~CFastCgiMTSampleRequestProcessor()

CFastCgiMTSampleRequestProcessor::~CFastCgiMTSampleRequestProcessor ( void  )

Definition at line 76 of file fcgi_mt_sample.cpp.

Member Function Documentation

◆ ProcessRequest()

int CFastCgiMTSampleRequestProcessor::ProcessRequest ( CCgiContext context)

◆ x_LookAtArgs()

void CFastCgiMTSampleRequestProcessor::x_LookAtArgs ( void  )

Definition at line 215 of file fcgi_mt_sample.cpp.

References CCgiRequestProcessor::GetArgs().

Referenced by ProcessRequest().

The documentation for this class was generated from the following file:
Modified on Sat Dec 09 04:47:18 2023 by rev. 669887