Kostas Kloudas created FLINK-7543: ------------------------------------- Summary: Simplify REST parameter access. Key: FLINK-7543 URL: https://issues.apache.org/jira/browse/FLINK-7543 Project: Flink Issue Type: Improvement Components: REST Affects Versions: 1.4.0 Reporter: Kostas Kloudas Assignee: Chesnay Schepler Fix For: 1.4.0
Currently you have to do: {{{ final ParameterTypes.JobIdPathParam jobId = request.getPathParameter(ParameterTypes.JobIdPathParam.class); JobID jobID = jobId.getValue(); }}} This issue proposes to remove the second step and return directly the value, while performing the necessary checks internally (different for query and path parameters), without exposing it to the user. -- This message was sent by Atlassian JIRA (v6.4.14#64029)