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 Mon, 21 Oct 2013 22:23:45 GMT


Andriy Redko commented on CXF-5309:

Hi Sergey,

Thanks a lot! I will continue experimenting with caching the metadata. With respect to PhaseInterceptorChain.getCurrentMessage().getExchange().getOutMessage(),
I think it's a great idea. It might be a bit unclear for developers to figure out this trick
if someone decides to provide own exception wrapper. I think it could be a case as spec's
Chapter 7 outlines HTTP error codes but not content (which could be application-specific -
text / JSON / XML / ... ). Anyway, I would prefer to go with PhaseInterceptorChain.getCurrentMessage().getExchange().getOutMessage(),
it's more lightweight then exceptions hierarchy. 

Thank you.

> 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