This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git
The following commit(s) were added to refs/heads/master by this push:
new 94b074d Update Javadoc.
94b074d is described below
commit 94b074d2a5aa6ba013783eca83b6469f2663d3dd
Author: JamesBognar <[email protected]>
AuthorDate: Sat Feb 10 13:14:28 2018 -0500
Update Javadoc.
---
.../main/java/org/apache/juneau/rest/client/RestClient.java | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git
a/juneau-rest/juneau-rest-client/src/main/java/org/apache/juneau/rest/client/RestClient.java
b/juneau-rest/juneau-rest-client/src/main/java/org/apache/juneau/rest/client/RestClient.java
index b77d48b..4928fc4 100644
---
a/juneau-rest/juneau-rest-client/src/main/java/org/apache/juneau/rest/client/RestClient.java
+++
b/juneau-rest/juneau-rest-client/src/main/java/org/apache/juneau/rest/client/RestClient.java
@@ -608,6 +608,11 @@ public class RestClient extends BeanContext implements
Closeable {
/**
* Perform a <code>POST</code> request against the specified URL.
*
+ * <h5 class='section'>Notes:</h5>
+ * <ul class='spaced-list'>
+ * <li>Use {@link #doFormPost(Object, Object)} for
<code>application/x-www-form-urlencoded</code> form posts.
+ * </ul>
+ *
* @param url
* The URL of the remote REST resource.
* Can be any of the following: {@link String}, {@link URI},
{@link URL}.
@@ -640,6 +645,11 @@ public class RestClient extends BeanContext implements
Closeable {
* You must call either {@link RestCall#input(Object)} or {@link
RestCall#formData(String, Object)} to set the
* contents on the result object.
*
+ * <h5 class='section'>Notes:</h5>
+ * <ul class='spaced-list'>
+ * <li>Use {@link #doFormPost(Object, Object)} for
<code>application/x-www-form-urlencoded</code> form posts.
+ * </ul>
+ *
* @param url
* The URL of the remote REST resource.
* Can be any of the following: {@link String}, {@link URI},
{@link URL}.
--
To stop receiving notification emails like this one, please contact
[email protected].