Public Member Functions | |
virtual void | describe (Description &desc) const |
virtual bool | validate (const std::string &name, LLSD &context) const |
virtual void | get (LLHTTPNode::ResponsePtr response, const LLSD &context) const |
virtual void | put (LLHTTPNode::ResponsePtr response, const LLSD &context, const LLSD &input) const |
virtual void | del (LLHTTPNode::ResponsePtr response, const LLSD &context) const |
Definition at line 113 of file llsdappservices.cpp.
virtual void LLHTTPConfigRuntimeSingleService::del | ( | LLHTTPNode::ResponsePtr | response, | |
const LLSD & | context | |||
) | const [inline, virtual] |
Reimplemented from LLHTTPNode.
Definition at line 168 of file llsdappservices.cpp.
References LLSD::erase(), LLApp::getOptionData(), LLApp::instance(), LLApp::PRIORITY_RUNTIME_OVERRIDE, and LLApp::setOptionData().
virtual void LLHTTPConfigRuntimeSingleService::describe | ( | Description & | desc | ) | const [inline, virtual] |
Definition at line 116 of file llsdappservices.cpp.
virtual void LLHTTPConfigRuntimeSingleService::get | ( | LLHTTPNode::ResponsePtr | response, | |
const LLSD & | context | |||
) | const [inline, virtual] |
Reimplemented from LLHTTPNode.
Definition at line 143 of file llsdappservices.cpp.
References LLApp::getOptionData(), LLApp::instance(), and LLApp::PRIORITY_RUNTIME_OVERRIDE.
virtual void LLHTTPConfigRuntimeSingleService::put | ( | LLHTTPNode::ResponsePtr | response, | |
const LLSD & | context, | |||
const LLSD & | input | |||
) | const [inline, virtual] |
Reimplemented from LLHTTPNode.
Definition at line 153 of file llsdappservices.cpp.
References LLApp::getOptionData(), LLApp::instance(), LLApp::PRIORITY_RUNTIME_OVERRIDE, and LLApp::setOptionData().
virtual bool LLHTTPConfigRuntimeSingleService::validate | ( | const std::string & | name, | |
LLSD & | context | |||
) | const [inline, virtual] |
called only on wildcard nodes, to check if they will handle the name; default is false; overrides will want to check name, and return true if the name will construct to a valid url. For convenience, the getChild()
method above will automatically insert the name in context["request"]["wildcard"][key] if this method returns true. For example, the node "agent/<agent_id>/detail" will set context["request"]["wildcard"]["agent_id"] eqaul to the value found during traversal.
Reimplemented from LLHTTPNode.
Definition at line 125 of file llsdappservices.cpp.
References LLApp::getOptionData(), LLSD::has(), LLApp::instance(), and LLApp::PRIORITY_RUNTIME_OVERRIDE.