Author: ehillenius
Date: Sat Jan  6 14:43:06 2007
New Revision: 493590

URL: http://svn.apache.org/viewvc?view=rev&rev=493590
Log:
sorted members + toString

Modified:
    incubator/wicket/trunk/wicket/src/main/java/wicket/Request.java

Modified: incubator/wicket/trunk/wicket/src/main/java/wicket/Request.java
URL: 
http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/Request.java?view=diff&rev=493590&r1=493589&r2=493590
==============================================================================
--- incubator/wicket/trunk/wicket/src/main/java/wicket/Request.java (original)
+++ incubator/wicket/trunk/wicket/src/main/java/wicket/Request.java Sat Jan  6 
14:43:06 2007
@@ -115,24 +115,6 @@
        public abstract String getRelativeURL();
 
        /**
-        * Retrieves the absolute URL of this request for local use.
-        * 
-        * @return The absolute request URL for local use
-        */
-       public abstract String getURL();
-
-       /**
-        * THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL IT.
-        * 
-        * @param page
-        *            The Page for this request
-        */
-       public void setPage(final Page page)
-       {
-               this.page = page;
-       }
-
-       /**
         * Gets the request parameters object using the instance of
         * [EMAIL PROTECTED] IRequestCodingStrategy} of the provided request 
cycle processor.
         * 
@@ -160,8 +142,8 @@
                try
                {
                        requestParameters = encoder.decode(this);
-               } 
-               catch(RuntimeException re)
+               }
+               catch (RuntimeException re)
                {
                        // do set the parameters as it was parsed.
                        // else the error page will also error again (infinite 
loop)
@@ -174,5 +156,31 @@
                                        + encoder + ")");
                }
                return requestParameters;
+       }
+
+       /**
+        * Retrieves the absolute URL of this request for local use.
+        * 
+        * @return The absolute request URL for local use
+        */
+       public abstract String getURL();
+
+       /**
+        * THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL IT.
+        * 
+        * @param page
+        *            The Page for this request
+        */
+       public void setPage(final Page page)
+       {
+               this.page = page;
+       }
+
+       /**
+        * @see java.lang.Object#toString()
+        */
+       public String toString()
+       {
+               return "Request[url=" + getURL() + "]";
        }
 }


Reply via email to