Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 14954 invoked from network); 15 Aug 2002 19:18:55 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 15 Aug 2002 19:18:55 -0000 Received: (qmail 18373 invoked by uid 97); 15 Aug 2002 19:19:15 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 18355 invoked by uid 97); 15 Aug 2002 19:19:15 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 18326 invoked by uid 98); 15 Aug 2002 19:19:14 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Subject: Re: [5.0] [PROPOSAL] Refactored mapper From: Bob Herrmann To: Tomcat Developers List In-Reply-To: <3D5BE384.9070005@apache.org> References: <3D5BE384.9070005@apache.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 15 Aug 2002 15:20:09 -0400 Message-Id: <1029439210.30959.22.camel@dhcp-70-230> Mime-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Thu, 2002-08-15 at 13:23, Remy Maucherat wrote: > Hi, > > I have been hinting at rewriting the main Catalina mapper for Tomcat 5. > > The proposal is designed to improve performance, avoid generating > uneeded garbage String objects, and optimize the welcome files processing. FYI, The 2.4 spec seems to allow servlets to handle "welcome file" processing too. Not sure I understand this completely, but I am looking into it (with an eye towards implementing something to satisfy the 2.4 Spec's servlets as providers of "welcome" files. Perhaps welcome page would be better than 'welcome file.', but I digress) Cheers, -bob > > The following changes are proposed: > - Expose the decoded URI MessageBytes in the main Request interface of > Catalina, so that the mapper doesn't have to pay the b2c cost > - Implement the new mappers as a separate set of classes in > j-t-c/util/../mapper > > The new mappers will use exclusively bytes to match contexts/servlets > and will rewrite the original URIs to handle welcome files without > sending a redirect back to the client (in most cases). > > Remy > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: