You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2016/03/26 13:44:28 UTC
[jira] [Issue Comment Deleted] (CXF-6843) http 406 not acceptable
should be returned if query parameter value can't be converted
[ https://issues.apache.org/jira/browse/CXF-6843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin updated CXF-6843:
----------------------------------
Comment: was deleted
(was: Section 3.2:
"if the field or property is annotated with
@MatrixParam , @QueryParam or @PathParam then an implementation MUST generate an instance of
1
Due to limitations of the built-in valueOf method that is part of all Java enumerations, a fromString method is often
defined by the enum writers. Consequently, the fromString method is preferred when available.
12
JAX-RS
May 22, 20133.3. Resource Methods
NotFoundException (404 status)")
> http 406 not acceptable should be returned if query parameter value can't be converted
> ---------------------------------------------------------------------------------------
>
> Key: CXF-6843
> URL: https://issues.apache.org/jira/browse/CXF-6843
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 3.1.5
> Reporter: Jim Ma
> Fix For: 3.2.0, 3.1.6
>
>
> For query parameter conversion exception, it should return 406 http status in response.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)