[
https://issues.apache.org/jira/browse/FLINK-7543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-7543.
-----------------------------------
Resolution: Fixed
1.4: a6905df09098caf6c2b3c11e164132784801d815
> 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)