cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-5309) Support Bean Validation API for JAX-RS
Date Tue, 22 Oct 2013 15:47:43 GMT


Sergey Beryozkin commented on CXF-5309:

Hi Andriy, 
you have a good point though about the fact that the custom ConstraintValidationException
mappers may find it simpler to check for the specific exception type as opposed to going a
more low-level check involving the current message. And yes, we have a case for JAX-RS 2.1
enhancement request, i.e, no portable way at the moment to figure in the custom mapper whether
it was a in or out validation issue. 
I'd then drop CXF ServerConstraintValidationException for now and default ConstraintValidationException
to signal in validation issues, and keep  ClientConstraintValidationException, but rename
it to ResponseConstraintValidationException; when we do a CXF specific client proxy validation
support we can reuse ResponseConstraintValidationException as well.  I can take care of this
updates next week
Cheers, Sergey

> 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

This message was sent by Atlassian JIRA

View raw message