eckit::HtmlResource class

Intermediate Class Derive all resources that provide an Html content

Base classes

class HttpResource

Derived classes

class AgentResource
class CgiResource
class FileResource
class HttpServer
class JavaResource

Public static functions

static void dispatch(eckit::Stream&, std::istream&, HttpStream&, Url&)
static void index(std::ostream&, Url&)

Constructors, destructors, conversion operators

HtmlResource(const std::string&)
~HtmlResource() override

Public functions

auto restricted() -> bool virtual
auto resourceUrl() const -> const std::string&
void java(JavaAgent&) virtual
void substitute(std::ostream&, const std::string&) virtual
void HEAD(std::ostream&, Url&) virtual
void GET(std::ostream&, Url&) virtual
void POST(std::ostream&, Url&) virtual
void PUT(std::ostream&, Url&) virtual
void DELETE(std::ostream&, Url&) virtual
void TRACE(std::ostream&, Url&) virtual
void OPTIONS(std::ostream&, Url&) virtual
void CONNECT(std::ostream&, Url&) virtual
void PATCH(std::ostream&, Url&) virtual

Function documentation

static void eckit::HtmlResource::dispatch(eckit::Stream&, std::istream&, HttpStream&, Url&)

static void eckit::HtmlResource::index(std::ostream&, Url&)

bool eckit::HtmlResource::restricted() virtual

const std::string& eckit::HtmlResource::resourceUrl() const

void eckit::HtmlResource::java(JavaAgent&) virtual

void eckit::HtmlResource::substitute(std::ostream&, const std::string&) virtual

void eckit::HtmlResource::HEAD(std::ostream&, Url&) virtual

void eckit::HtmlResource::GET(std::ostream&, Url&) virtual

void eckit::HtmlResource::POST(std::ostream&, Url&) virtual

void eckit::HtmlResource::PUT(std::ostream&, Url&) virtual

void eckit::HtmlResource::DELETE(std::ostream&, Url&) virtual

void eckit::HtmlResource::TRACE(std::ostream&, Url&) virtual

void eckit::HtmlResource::OPTIONS(std::ostream&, Url&) virtual

void eckit::HtmlResource::CONNECT(std::ostream&, Url&) virtual

void eckit::HtmlResource::PATCH(std::ostream&, Url&) virtual