Repository: incubator-juneau
Updated Branches:
  refs/heads/master 9ee67bd02 -> 709d49c38


Doc updates.

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

Branch: refs/heads/master
Commit: 709d49c38ff08eba8da344b2200f4d15e9f4ef4a
Parents: 9ee67bd
Author: JamesBognar <[email protected]>
Authored: Sat Apr 1 19:54:44 2017 -0400
Committer: JamesBognar <[email protected]>
Committed: Sat Apr 1 19:54:44 2017 -0400

----------------------------------------------------------------------
 juneau-core/src/main/javadoc/overview.html | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/709d49c3/juneau-core/src/main/javadoc/overview.html
----------------------------------------------------------------------
diff --git a/juneau-core/src/main/javadoc/overview.html 
b/juneau-core/src/main/javadoc/overview.html
index f5353a1..3b23b5c 100644
--- a/juneau-core/src/main/javadoc/overview.html
+++ b/juneau-core/src/main/javadoc/overview.html
@@ -5853,6 +5853,16 @@
                        <li>Updated doc: <a class='doclink' 
href='#Remoteable'>6 - Remoteable Services</a>
                        <li>{@link 
org.apache.juneau.rest.RestRequest#toString()} can be called at any time to 
view the headers and content of the request
                                without affecting functionality.  Very useful 
for debugging.
+                       <li>You can now use numeric values in path annotations. 
 
+                               <br>When using numeric variable names, you 
don't need to specify the variable name in the <ja>@Path</ja> annoation:
+                               <p class='bcode'>
+       <ja>@RestMethod</ja>(name=<js>"GET"</js>, 
path=<js>"/myurl/{0}/{1}/{2}/*"</js>)
+       <jk>public void</jk> doGet(RestRequest req, RestResponse res,
+                       <ja>@Path</ja> String foo, <ja>@Path</ja> <jk>int</jk> 
bar, <ja>@Path</ja> UUID baz) {
+               ...
+       }
+                               </p>
+                       <li>{@link 
org.apache.juneau.rest.annotation.RestMethod#name() @RestMethod.name()} 
annotation is now optional.  Defaults to <js>"GET"</js>.
                </ul>
 
                <h6 class='topic'>org.apache.juneau.rest.client</h6>
@@ -5876,7 +5886,18 @@
                                <li>{@link 
org.apache.juneau.rest.client.RestClientBuilder#debug(boolean)} now adds a 
<code>Debug: true</code> header on all requests.
                        </ul>
                        <li>New doc: <a class='doclink' 
href='org/apache/juneau/rest/client/package-summary.html#Debugging'>1.5 - 
Debugging</a>
-                       <li>{@link 
org.apache.juneau.rest.annotation.RestMethod#name() @RestMethod.name()} 
annotation is now optional.  Defaults to <js>"GET"</js>.
+                       <li>The <code>RestClient</code> class <code>doX(Object 
url)</code> methods now handle HttpClient <code>URIBuilder</code> instances.
+                       <li>New methods added to {@link 
org.apache.juneau.rest.client.RestCall} that allow you to manipulate URLs after 
you've already created the <code>RestCall</code> object:
+                               <ul>
+                                       <li>{@link 
org.apache.juneau.rest.client.RestCall#uri(Object)}
+                                       <li>{@link 
org.apache.juneau.rest.client.RestCall#param(String,Object)}
+                                       <li>{@link 
org.apache.juneau.rest.client.RestCall#query(String)}
+                                       <li>{@link 
org.apache.juneau.rest.client.RestCall#host(String)}
+                                       <li>{@link 
org.apache.juneau.rest.client.RestCall#port(int)}
+                                       <li>{@link 
org.apache.juneau.rest.client.RestCall#userInfo(String,String)}
+                                       <li>{@link 
org.apache.juneau.rest.client.RestCall#userInfo(String)}
+                                       <li>{@link 
org.apache.juneau.rest.client.RestCall#scheme(String)}
+                               </ul>
                </ul>
                
                <h6 class='topic'>org.apache.juneau.microservice</h6>

Reply via email to