Nebula
Loading...
Searching...
No Matches
iopagehandler.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
13
14//------------------------------------------------------------------------------
15namespace Debug
16{
18{
20public:
24 virtual void HandleRequest(const Ptr<Http::HttpRequest>& request);
25
26private:
28 void ListDirectory(const Util::String& path, const Ptr<Http::HttpRequest>& request);
29};
30
31} // namespace Debug
32//------------------------------------------------------------------------------
33
Provide information about IO subsystem to debug http server.
Definition iopagehandler.h:18
virtual void HandleRequest(const Ptr< Http::HttpRequest > &request)
handle a http request, the handler is expected to fill the content stream with response data
Definition iopagehandler.cc:37
__DeclareClass(IoPageHandler)
void ListDirectory(const Util::String &path, const Ptr< Http::HttpRequest > &request)
create a directory lister page
Definition iopagehandler.cc:134
IoPageHandler()
constructor
Definition iopagehandler.cc:26
HttpRequestHandlers are attached to the HttpServer and process incoming HTTP requests.
Definition httprequesthandler.h:31
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Definition corepagehandler.cc:13
Nebula's universal string class.
Definition String.cs:8