Public Member Functions | Private Attributes
async_web_server_cpp::FilesystemHttpRequestHandler Class Reference

#include <http_reply.hpp>

List of all members.

Public Member Functions

 FilesystemHttpRequestHandler (HttpReply::status_type status, const std::string &path_root, const std::string &filesystem_root, bool list_directories, const std::vector< HttpHeader > &headers)
bool operator() (const HttpRequest &, boost::shared_ptr< HttpConnection >, const char *begin, const char *end)

Private Attributes

boost::filesystem::path filesystem_root_
std::vector< HttpHeaderheaders_
bool list_directories_
std::string path_root_
HttpReply::status_type status_

Detailed Description

Request Handler that serves a responses from the filesystem from a base path

Definition at line 156 of file http_reply.hpp.


Constructor & Destructor Documentation

async_web_server_cpp::FilesystemHttpRequestHandler::FilesystemHttpRequestHandler ( HttpReply::status_type  status,
const std::string &  path_root,
const std::string &  filesystem_root,
bool  list_directories,
const std::vector< HttpHeader > &  headers 
)

Definition at line 294 of file http_reply.cpp.


Member Function Documentation

bool async_web_server_cpp::FilesystemHttpRequestHandler::operator() ( const HttpRequest request,
boost::shared_ptr< HttpConnection connection,
const char *  begin,
const char *  end 
)

Definition at line 303 of file http_reply.cpp.


Member Data Documentation

Definition at line 171 of file http_reply.hpp.

Definition at line 169 of file http_reply.hpp.

Definition at line 172 of file http_reply.hpp.

Definition at line 170 of file http_reply.hpp.

Definition at line 168 of file http_reply.hpp.


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


async_web_server_cpp
Author(s): Mitchell Wills
autogenerated on Fri Mar 4 2016 11:30:14