juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject incubator-juneau-website git commit: Fix typo.
Date Tue, 28 Feb 2017 21:50:36 GMT
Repository: incubator-juneau-website
Updated Branches:
  refs/heads/asf-site 323d18d6b -> 127224667


Fix typo.

Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/commit/12722466
Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/tree/12722466
Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/diff/12722466

Branch: refs/heads/asf-site
Commit: 127224667e27fbab82cc6c6fdd9bf5e44442e5df
Parents: 323d18d
Author: JamesBognar <jamesbognar@apache.org>
Authored: Tue Feb 28 16:50:32 2017 -0500
Committer: JamesBognar <jamesbognar@apache.org>
Committed: Tue Feb 28 16:50:32 2017 -0500

----------------------------------------------------------------------
 content/about.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/12722466/content/about.html
----------------------------------------------------------------------
diff --git a/content/about.html b/content/about.html
index 3bd05d2..a308cdf 100644
--- a/content/about.html
+++ b/content/about.html
@@ -563,7 +563,7 @@
 	</p>
 	<p class='bcode'>
 		<jd>/** Example GET request using annotated attributes */</jd> 
-		<ja>@RestMethod</ja>(name=<js>"GET"</js>, path=<js>"/example1/{a1}/{a2}/{a3}/*"</js>,
rc={200}) 
+		<ja>@RestMethod</ja>(name=<js>"GET"</js>, path=<js>"/example1/{a1}/{a2}/{a3}/*"</js>)

 		<jk>public</jk> String doGetExample1( 
 			<ja>@Method</ja> String method, 
 			<ja>@Path</ja> String a1, 
@@ -584,7 +584,7 @@
 		} 
 		
 		<jd>/** Example GET request using methods on RestRequest and RestResponse */</jd>

-		<ja>@RestMethod</ja>(name=<js>"GET"</js>, path=<js>"/example2/{a1}/{a2}/{a3}/*"</js>,
rc={200}) 
+		<ja>@RestMethod</ja>(name=<js>"GET"</js>, path=<js>"/example2/{a1}/{a2}/{a3}/*"</js>)

 		<jk>public void</jk> doGetExample2(RestRequest req, RestResponse res) <jk>throws</jk>
Exception { 
 			String method = req.getMethod(); 
 			
@@ -594,7 +594,7 @@
 			UUID a3 = req.getPathParameter(<js>"a3"</js>, UUID.<jk>class</jk>);

 			
 			<jc>// Optional GET parameters</jc> 
-			<jk>int</jk> p1 = req.getQueryParameter(<js>"p1"</js>, <jk>int</jk>.<jk>class</jk>,
0); 
+			<jk>int</jk> p1 = req.getQueryParameter(<js>"p1"</js>, <jk>int</jk>.<jk>class</jk>);

 			String p2 = req.getQueryParameter(<js>"p2"</js>, String.<jk>class</jk>);

 			UUID p3 = req.getQueryParameter(<js>"p3"</js>, UUID.<jk>class</jk>);

 			


Mime
View raw message