You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2006/10/06 00:43:10 UTC

svn commit: r453412 - in /incubator/roller/trunk/src/org/apache/roller/ui/rendering/util: ParsedRequest.java WeblogRequest.java

Author: agilliland
Date: Thu Oct  5 15:43:10 2006
New Revision: 453412

URL: http://svn.apache.org/viewvc?view=rev&rev=453412
Log:
provide a setAuthenticUser() method on parsed request and update a couple comments.


Modified:
    incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/ParsedRequest.java
    incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogRequest.java

Modified: incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/ParsedRequest.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/ParsedRequest.java?view=diff&rev=453412&r1=453411&r2=453412
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/ParsedRequest.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/ParsedRequest.java Thu Oct  5 15:43:10 2006
@@ -37,7 +37,6 @@
     
     HttpServletRequest request = null;
     
-    private String language = null;
     private String authenticUser = null;
     
     
@@ -66,6 +65,11 @@
     
     public String getAuthenticUser() {
         return this.authenticUser;
+    }
+    
+    
+    public void setAuthenticUser(String authenticUser) {
+        this.authenticUser = authenticUser;
     }
     
     

Modified: incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogRequest.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogRequest.java?view=diff&rev=453412&r1=453411&r2=453412
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogRequest.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogRequest.java Thu Oct  5 15:43:10 2006
@@ -33,7 +33,7 @@
  * 
  * This is a fairly generic parsed request which is only trying to figure out
  * the elements of a weblog request which apply to all weblogs.  We try to 
- * determine the weblog weblogHandle, if a locale was specified, and then what extra 
+ * determine the weblogHandle, if a locale was specified, and then what extra 
  * path info remains.  The basic format is like this ...
  * 
  * /<weblogHandle>[/locale][/extra/path/info]
@@ -41,6 +41,11 @@
  * All weblog urls require a weblogHandle, so we ensure that part of the url is
  * properly specified.  locale is always optional, so we do our best to see
  * if a locale is specified.  and path info is always optional.
+ *
+ * NOTE: this class purposely exposes a getPathInfo() method which provides the
+ * path info specified by the request that has not been parsed by this
+ * particular class.  this makes it relatively easy for subclasses to extend
+ * this class and simply pick up where it left off in the parsing process.
  */
 public class WeblogRequest extends ParsedRequest {