Class: Fluent::Plugin::MonitorAgentDetailInput::JSONMonitorServlet
- Inherits:
-
MonitorServlet
- Object
- WEBrick::HTTPServlet::AbstractServlet
- MonitorServlet
- Fluent::Plugin::MonitorAgentDetailInput::JSONMonitorServlet
- Defined in:
- lib/fluent/plugin/in_monitor_agent_detail.rb
Instance Method Summary collapse
Methods inherited from MonitorServlet
#build_object, #do_GET, #get_search_parameter, #initialize, #render_json, #render_json_error
Constructor Details
This class inherits a constructor from Fluent::Plugin::MonitorAgentDetailInput::MonitorServlet
Instance Method Details
#process(req, res) ⇒ Object
180 181 182 183 184 185 186 187 |
# File 'lib/fluent/plugin/in_monitor_agent_detail.rb', line 180 def process(req, res) list, opts = build_object(req, res) return unless list render_json({ 'plugins' => list }, opts) end |