You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Kostas Kloudas (JIRA)" <ji...@apache.org> on 2017/08/28 14:34:00 UTC
[jira] [Created] (FLINK-7543) Simplify REST parameter access.
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)