class
#include <eckit/web/JSONResource.h>
JSONResource
Base classes
- class HttpResource
Public static functions
-
static void dispatch(eckit::
Stream&, std:: istream&, HttpStream&, Url&) -
static void index(std::
ostream&, Url&)
Constructors, destructors, conversion operators
-
JSONResource(const std::
string&) - ~JSONResource() 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 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 GET(std::
ostream&, Url&) override -
void POST(std::
ostream&, Url&) override -
void json(eckit::
JSON&, const eckit:: Value&) pure virtual
Function documentation
static void eckit:: JSONResource:: dispatch(eckit:: Stream&,
std:: istream&,
HttpStream&,
Url&)
#include <eckit/web/HttpResource.h>
static void eckit:: JSONResource:: index(std:: ostream&,
Url&)
#include <eckit/web/HttpResource.h>
bool eckit:: JSONResource:: restricted() virtual
#include <eckit/web/HttpResource.h>
const std:: string& eckit:: JSONResource:: resourceUrl() const
#include <eckit/web/HttpResource.h>
void eckit:: JSONResource:: java(JavaAgent&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: JSONResource:: substitute(std:: ostream&,
const std:: string&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: JSONResource:: HEAD(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: JSONResource:: PUT(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: JSONResource:: DELETE(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: JSONResource:: TRACE(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: JSONResource:: OPTIONS(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: JSONResource:: CONNECT(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>
void eckit:: JSONResource:: PATCH(std:: ostream&,
Url&) virtual
#include <eckit/web/HtmlObject.h>