[
https://issues.apache.org/jira/browse/CXF-6847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15220056#comment-15220056
]
Sergey Beryozkin commented on CXF-6847:
---------------------------------------
JAXRSUtils.createResponse iterates over all the class resources and their
methods. How does the test class look like, what is expected in response and
what does CXF return ?
> 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
>
>
> 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)