public class DashboardConfigHandler extends Object implements RequestHandler
Constructor and Description |
---|
DashboardConfigHandler(long refreshInterval) |
Modifier and Type | Method and Description |
---|---|
String |
handleRequest(Map<String,String> pathParams,
Map<String,String> queryParams,
org.apache.flink.runtime.instance.ActorGateway jobManager)
Core method that handles the request and generates the response.
|
public String handleRequest(Map<String,String> pathParams, Map<String,String> queryParams, org.apache.flink.runtime.instance.ActorGateway jobManager) throws Exception
RequestHandler
handleRequest
in interface RequestHandler
pathParams
- The map of REST path parameters, decoded by the router.queryParams
- The map of query parameters.jobManager
- The JobManager actor.Exception
- Handlers may forward exceptions. Exceptions of type
NotFoundException
will cause a HTTP 404
response with the exception message, other exceptions will cause a HTTP 500 response
with the exception stack trace.Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.