[ThorFramework-devel] SF.net SVN: thorframework: [29] trunk/thor/src/org/y2k1/thor/core/Request.java
Status: Planning
Brought to you by:
denniskempin
|
From: <den...@us...> - 2006-02-26 21:55:07
|
Revision: 29 Author: denniskempin Date: 2006-02-26 13:54:58 -0800 (Sun, 26 Feb 2006) ViewCVS: http://svn.sourceforge.net/thorframework/?rev=29&view=rev Log Message: ----------- commented out getAttribute funktion. Modified Paths: -------------- trunk/thor/src/org/y2k1/thor/core/Request.java Modified: trunk/thor/src/org/y2k1/thor/core/Request.java =================================================================== --- trunk/thor/src/org/y2k1/thor/core/Request.java 2006-02-25 21:47:29 UTC (rev 28) +++ trunk/thor/src/org/y2k1/thor/core/Request.java 2006-02-26 21:54:58 UTC (rev 29) @@ -80,6 +80,24 @@ this.context = request.context; this.parameter = request.parameter; } + + /*public final String getAttribute(String name) + { + return request.getAttribute(name).toString(); + } + + public final StringMap getAttributeMap() + { + Enumeration enumeration = request.getAttributeNames(); + StringMap map = new StringMap(); + + while(enumeration.hasMoreElements()) + { + String name = (String)enumeration.nextElement(); + map.put(name, request.getAttribute(name).toString()); + } + return map; + }*/ /** * @return the request URI send by the client This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |