@@ -13,17 +13,17 @@ public interface SendGridAPI {
1313 public void initializeSendGrid (String apiKey );
1414
1515 /**
16- * Initializes SendGrid
16+ * Returns the library version
1717 *
1818 * @param apiKey is your SendGrid API Key: https://app.sendgrid.com/settings/api_keys
19- * @return
19+ * @return the library version.
2020 */
2121 public String getLibraryVersion ();
2222
2323 /**
2424 * Gets the version.
2525 *
26- * @return
26+ * @return returns the version.
2727 */
2828 public String getVersion ();
2929
@@ -36,31 +36,31 @@ public interface SendGridAPI {
3636
3737 /**
3838 * Gets the request headers.
39- * @return
39+ * @return returns a map of request headers.
4040 */
4141 public Map <String , String > getRequestHeaders ();
4242
4343 /**
4444 * Adds a request headers.
4545 *
46- * @param keythe key
47- * @param valuethe value
48- * @return
46+ * @param key the key
47+ * @param value the value
48+ * @return returns a map of request headers.
4949 */
5050 public Map <String , String > addRequestHeader (String key , String value );
5151
5252 /**
5353 * Removes a request headers.
5454 *
5555 * @param key the key
56- * @return
56+ * @return returns a map of request headers.
5757 */
5858 public Map <String , String > removeRequestHeader (String key );
5959
6060 /**
6161 * Gets the host.
6262 *
63- * @return
63+ * @return returns the host.
6464 */
6565 public String getHost ();
6666
@@ -76,8 +76,8 @@ public interface SendGridAPI {
7676 * testing.
7777 *
7878 * @param request
79- * @return
80- * @throws IOException
79+ * @return returns a response.
80+ * @throws IOException in case of network or marshal error.
8181 */
8282 public Response makeCall (Request request ) throws IOException ;
8383
@@ -86,7 +86,7 @@ public interface SendGridAPI {
8686 *
8787 * @param request
8888 * @return
89- * @throws IOException
89+ * @throws IOException in case of network or marshal error.
9090 */
9191 public Response api (Request request ) throws IOException ;
9292}
0 commit comments