cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andriy Redko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5309) Support Bean Validation API for JAX-RS
Date Tue, 05 Nov 2013 16:26:20 GMT

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

Mime
View raw message