[
https://issues.apache.org/jira/browse/CXF-5309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814017#comment-13814017
]
Andriy Redko commented on CXF-5309:
-----------------------------------
Thanks a lot. I also looked for clarification of generic Response validation
inside JSR-339 but found nothing. Not sure we have to validate
Response.getEntity() though. I would vote for doing no additional work but
delegating Response as-is for validation (which will do nothing right now).
What I roughly thought about is to have Response implementation with validation
annotations and, by adding f.e. method validated() to ResponseBuilder, return
this implementation which naturally will be handed off to validator and
processed properly (if @Valid annotation is present). What do you think?
Thanks a lot.
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, patch-validation-tests.txt
>
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)