Return-Path: Delivered-To: apmail-incubator-beehive-dev-archive@www.apache.org Received: (qmail 93921 invoked from network); 1 Jul 2005 22:12:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Jul 2005 22:12:03 -0000 Received: (qmail 90857 invoked by uid 500); 1 Jul 2005 22:12:01 -0000 Delivered-To: apmail-incubator-beehive-dev-archive@incubator.apache.org Received: (qmail 90833 invoked by uid 500); 1 Jul 2005 22:12:01 -0000 Mailing-List: contact beehive-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list beehive-dev@incubator.apache.org Received: (qmail 90820 invoked by uid 99); 1 Jul 2005 22:12:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2005 15:12:00 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 1B40116 for ; Sat, 2 Jul 2005 00:11:58 +0200 (CEST) Message-ID: <1887905139.1120255918110.JavaMail.jira@ajax.apache.org> Date: Sat, 2 Jul 2005 00:11:58 +0200 (CEST) From: "Rich Feit (JIRA)" To: beehive-dev@incubator.apache.org Subject: [jira] Resolved: (BEEHIVE-838) Add a toString(boolean) method to support optional cleanup of unknown tokens in URLTemplate class. In-Reply-To: <1244740564.1119976319707.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/BEEHIVE-838?page=all ] Rich Feit resolved BEEHIVE-838: ------------------------------- Resolution: Fixed Assign To: Carlin Rogers (was: Rich Feit) Hey Carlin, I submitted this change with revision 208805, but how would you feel about having this be called something *other* than toString()? It seems strange to have an overloaded toString() that takes an argument. Just my gut reaction... what do you think? > Add a toString(boolean) method to support optional cleanup of unknown tokens in URLTemplate class. > -------------------------------------------------------------------------------------------------- > > Key: BEEHIVE-838 > URL: http://issues.apache.org/jira/browse/BEEHIVE-838 > Project: Beehive > Type: Bug > Components: NetUI > Versions: v1m1 > Environment: All > Reporter: Subbu Allamaraju > Assignee: Carlin Rogers > Fix For: V1 > Attachments: j838-patch.txt > > The toString() method in URLTemplate supposedly (I've not tested yet) removes unknown tokens. We have some use cases where URLs are prepared in multiple passes with each pass filling some tokens only known at that pass. In between these passes, URLs are passed as strings and not as URLTemplate objects, and hence we need to way to tell URLTemplate to not cleanup unknown tokens. > A method like toString(boolean unsetTokens) would solve our use case. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira