[
https://issues.apache.org/jira/browse/CXF-5309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andriy Redko updated CXF-5309:
------------------------------
Attachment: patch-validation-poc.txt
Hi Sergey,
Please take a look on the new PoC patch (as time permits) with your major
comments addressed:
- ValidationOutInterceptor has been added and performs return values validation
- both in- and out-interceptors should be registered manually
- validation exception mapper should be registered manually
- exception mapper can distinguish parameters validation (400) and return
values validation (500), as per spec's Chapter 7
- all tests have been moved to systest / jaxrs
I am looking into caching validation metadata so not to perform introspection
all the time.
Feedback is very appreciated. Thanks!
Andriy.
> Support Bean Validation API for JAX-RS
> --------------------------------------
>
> Key: CXF-5309
> URL: https://issues.apache.org/jira/browse/CXF-5309
> Project: CXF
> Issue Type: Sub-task
> Components: JAX-RS, JAX-WS Runtime
> Reporter: Sergey Beryozkin
> Attachments: patch-validation-poc.txt
>
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)