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-6847) Return automatic response if no method annotated with OPTIONS.
Date Mon, 28 Mar 2016 13:00:27 GMT

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

Sergey Beryozkin commented on CXF-6847:
---------------------------------------

Sure, there has to be code doing the automatic OPTIONS response, in JAXRSUtils and/or JAXRSInInterceptor,
perhaps it is not complete ?

> Return automatic response if no method annotated with OPTIONS.
> --------------------------------------------------------------
>
>                 Key: CXF-6847
>                 URL: https://issues.apache.org/jira/browse/CXF-6847
>             Project: CXF
>          Issue Type: Task
>    Affects Versions: 3.1.5
>            Reporter: Jim Ma
>             Fix For: 3.2.0, 3.1.6
>
>
> From JAXRS 2.0 Spec section 3.5, it requires the following behavior . 
> On receipt of an OPTIONS request an implementation MUST either:
> 1. Call a method annotated with a request method designator for OPTIONS or, if none present,
> 2. Generate an automatic response using the metadata provided by the JAX-RS annotations
on the match-
> ing class and its methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message