Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 20170 invoked from network); 25 Oct 2004 16:15:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Oct 2004 16:15:55 -0000 Received: (qmail 60726 invoked by uid 500); 25 Oct 2004 16:14:45 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 60571 invoked by uid 500); 25 Oct 2004 16:14:40 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 60333 invoked by uid 99); 25 Oct 2004 16:14:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [84.96.21.10] (HELO mail.anyware-tech.com) (84.96.21.10) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 25 Oct 2004 09:14:03 -0700 Received: from [10.0.0.27] (unknown [10.0.0.27]) by mail.anyware-tech.com (Postfix) with ESMTP id 17C925EB8D for ; Mon, 25 Oct 2004 18:14:01 +0200 (CEST) Message-ID: <417D2648.2070508@apache.org> Date: Mon, 25 Oct 2004 18:14:00 +0200 From: Sylvain Wallez Organization: Anyware Technologies User-Agent: Mozilla Thunderbird 0.8 (Macintosh/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: getInputStream() in FOM_Cocoon.FOM_Request ? References: <417AEB63.8090005@ajlsm.com> <7D66815C-25B2-11D9-90B6-000D93C1F3E2@hippo.nl> <417D2185.2090609@ajlsm.com> In-Reply-To: <417D2185.2090609@ajlsm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Fr�d�ric Glorieux wrote: > > >> The Request interface itself does not have getInputStream method, >> only HttpRequest does. So first step would be to add getInputStream >> method to the Request and then add it to FOM. > > > DONE, it seems to work for me. Still problems for a real world WebDAV > implementation, but this is for other threads. > >> I think this would be a good addition. What do others think? > > > YES, what do they think ? +1. But we have to define the behavior of getInputStream for environments where it has no meaning (e.g. background env, sitemap source, cocoonbean etc). IMO, we should throw an exception for these cases. Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }