public abstract class AbstractExecutionGraphRequestHandler extends AbstractJsonRequestHandler
Constructor and Description |
---|
AbstractExecutionGraphRequestHandler(ExecutionGraphHolder executionGraphHolder) |
Modifier and Type | Method and Description |
---|---|
String |
handleJsonRequest(Map<String,String> pathParams,
Map<String,String> queryParams,
ActorGateway jobManager)
Core method that handles the request and generates the response.
|
abstract String |
handleRequest(AccessExecutionGraph graph,
Map<String,String> params) |
handleRequest
public AbstractExecutionGraphRequestHandler(ExecutionGraphHolder executionGraphHolder)
public String handleJsonRequest(Map<String,String> pathParams, Map<String,String> queryParams, ActorGateway jobManager) throws Exception
AbstractJsonRequestHandler
handleJsonRequest
in class AbstractJsonRequestHandler
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–2017 The Apache Software Foundation. All rights reserved.