class
#include <eckit/web/HttpResource.h>
HttpResource
Base classes
- class HtmlObject
- class NonCopyable
- Inherit from this class to make a NonCopyable class.
Derived classes
- class HtmlResource
- class JSONResource
Public static functions
-
static void dispatch(eckit::
Stream&, std:: istream&, HttpStream&, Url&) -
static void index(std::
ostream&, Url&)
Constructors, destructors, conversion operators
-
HttpResource(const std::
string&) - ~HttpResource() 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
Private functions
-
void print(std::
ostream&) const override
Function documentation
void eckit:: HttpResource:: java(JavaAgent&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: HttpResource:: substitute(std:: ostream&,
const std:: string&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: HttpResource:: HEAD(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: HttpResource:: GET(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: HttpResource:: POST(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: HttpResource:: PUT(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: HttpResource:: DELETE(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: HttpResource:: TRACE(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: HttpResource:: OPTIONS(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: HttpResource:: CONNECT(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: HttpResource:: PATCH(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>