eckit::JSONResource class

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&)

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

bool eckit::JSONResource::restricted() virtual

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

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

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

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

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

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

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

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

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

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