Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C7511026A for ; Mon, 4 Nov 2013 22:45:18 +0000 (UTC) Received: (qmail 33598 invoked by uid 500); 4 Nov 2013 22:45:18 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 33580 invoked by uid 500); 4 Nov 2013 22:45:18 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 33568 invoked by uid 99); 4 Nov 2013 22:45:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Nov 2013 22:45:17 +0000 Date: Mon, 4 Nov 2013 22:45:17 +0000 (UTC) From: "Andriy Redko (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-5309) Support Bean Validation API for JAX-RS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-5309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13813373#comment-13813373 ] Andriy Redko commented on CXF-5309: ----------------------------------- Hi Sergey, That's an excellent question. I guess Response.getEntity() could be an option if method's return value is marked as @Valid, but it also means we have to introspect in order to make a decision (duplicating the validator's logic). I will try to find an answer in specification. Thanks a lot for bringing it up. 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)