Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8CC7C10E2C for ; Mon, 8 Dec 2014 11:38:56 +0000 (UTC) Received: (qmail 98027 invoked by uid 500); 8 Dec 2014 11:38:56 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 97964 invoked by uid 500); 8 Dec 2014 11:38:56 -0000 Mailing-List: contact commits-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 commits@cxf.apache.org Received: (qmail 97955 invoked by uid 99); 8 Dec 2014 11:38:56 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2014 11:38:56 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id F23D89C0E89; Mon, 8 Dec 2014 11:38:55 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergeyb@apache.org To: commits@cxf.apache.org Message-Id: <0332c89fa5524ccaa6ad0a89408902e7@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: Making a JAX-RS form provider easier to configure Date: Mon, 8 Dec 2014 11:38:55 +0000 (UTC) Repository: cxf Updated Branches: refs/heads/3.0.x-fixes 124d57317 -> 746467818 Making a JAX-RS form provider easier to configure Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/74646781 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/74646781 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/74646781 Branch: refs/heads/3.0.x-fixes Commit: 746467818cff96b38f1388b67e017954caba3fb1 Parents: 124d573 Author: Sergey Beryozkin Authored: Mon Dec 8 11:37:39 2014 +0000 Committer: Sergey Beryozkin Committed: Mon Dec 8 11:38:39 2014 +0000 ---------------------------------------------------------------------- .../java/org/apache/cxf/jaxrs/provider/FormEncodingProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/74646781/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/FormEncodingProvider.java ---------------------------------------------------------------------- diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/FormEncodingProvider.java b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/FormEncodingProvider.java index dda79be..1968763 100644 --- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/FormEncodingProvider.java +++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/FormEncodingProvider.java @@ -52,8 +52,8 @@ import org.apache.cxf.phase.PhaseInterceptorChain; @Produces({"application/x-www-form-urlencoded", "multipart/form-data" }) @Consumes({"application/x-www-form-urlencoded", "multipart/form-data" }) @Provider -public class FormEncodingProvider implements - MessageBodyReader, MessageBodyWriter { +public class FormEncodingProvider extends AbstractConfigurableProvider + implements MessageBodyReader, MessageBodyWriter { private FormValidator validator; @Context private MessageContext mc;