cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6843) http 406 not acceptable should be returned if query parameter value can't be converted
Date Sat, 26 Mar 2016 12:48:25 GMT

    [ https://issues.apache.org/jira/browse/CXF-6843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15212988#comment-15212988
] 

Sergey Beryozkin commented on CXF-6843:
---------------------------------------

Section 3.2: "if the field or property is annotated with
@MatrixParam , @QueryParam or @PathParam then an implementation MUST generate an instance
of
NotFoundException (404 status) that wraps the thrown exception and no entity"

> 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)

Mime
View raw message