@@ -10,34 +10,34 @@ public interface SendGridAPI {
10
10
*
11
11
* @param apiKey is your Twilio SendGrid API Key: https://app.sendgrid.com/settings/api_keys
12
12
*/
13
- public void initializeSendGrid (String apiKey );
13
+ void initializeSendGrid (String apiKey );
14
14
15
15
/**
16
16
* Returns the library version
17
17
*
18
18
* @return the library version.
19
19
*/
20
- public String getLibraryVersion ();
20
+ String getLibraryVersion ();
21
21
22
22
/**
23
23
* Gets the version.
24
24
*
25
25
* @return returns the version.
26
26
*/
27
- public String getVersion ();
27
+ String getVersion ();
28
28
29
29
/**
30
30
* Sets the version.
31
31
*
32
32
* @param version the Twilio SendGrid version.
33
33
*/
34
- public void setVersion (String version );
34
+ void setVersion (String version );
35
35
36
36
/**
37
37
* Gets the request headers.
38
38
* @return returns a map of request headers.
39
39
*/
40
- public Map <String , String > getRequestHeaders ();
40
+ Map <String , String > getRequestHeaders ();
41
41
42
42
/**
43
43
* Adds a request headers.
@@ -46,29 +46,29 @@ public interface SendGridAPI {
46
46
* @param value the value
47
47
* @return returns a map of request headers.
48
48
*/
49
- public Map <String , String > addRequestHeader (String key , String value );
49
+ Map <String , String > addRequestHeader (String key , String value );
50
50
51
51
/**
52
52
* Removes a request headers.
53
53
*
54
54
* @param key the key
55
55
* @return returns a map of request headers.
56
56
*/
57
- public Map <String , String > removeRequestHeader (String key );
57
+ Map <String , String > removeRequestHeader (String key );
58
58
59
59
/**
60
60
* Gets the host.
61
61
*
62
62
* @return returns the host.
63
63
*/
64
- public String getHost ();
64
+ String getHost ();
65
65
66
66
/**
67
67
* Sets the host.
68
68
*
69
69
* @param host the host to set
70
70
*/
71
- public void setHost (String host );
71
+ void setHost (String host );
72
72
73
73
/**
74
74
* Class makeCall makes the call to the Twilio SendGrid API, override this method for
@@ -78,7 +78,7 @@ public interface SendGridAPI {
78
78
* @return returns a response.
79
79
* @throws IOException in case of network or marshal error.
80
80
*/
81
- public Response makeCall (Request request ) throws IOException ;
81
+ Response makeCall (Request request ) throws IOException ;
82
82
83
83
/**
84
84
* Class api sets up the request to the Twilio SendGrid API, this is main interface.
@@ -87,5 +87,5 @@ public interface SendGridAPI {
87
87
* @return returns a response.
88
88
* @throws IOException in case of network or marshal error.
89
89
*/
90
- public Response api (Request request ) throws IOException ;
90
+ Response api (Request request ) throws IOException ;
91
91
}
0 commit comments