cxf-issues mailing list archives

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


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.

> Support Bean Validation API for JAX-RS
> --------------------------------------
>                 Key: CXF-5309
>                 URL:
>             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

View raw message