Skip to content

Commit faed5ad

Browse files
carieshmarielesv
authored andcommitted
Update MailjetServlet.java (#231)
Add region tags for documentation.
1 parent 723b480 commit faed5ad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

appengine/mailjet/src/main/java/com/example/appengine/mailjet/MailjetServlet.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
16+
// [START mailjet_imports]
1717
package com.example.appengine.mailjet;
1818

1919
import com.mailjet.client.MailjetClient;
2020
import com.mailjet.client.MailjetRequest;
2121
import com.mailjet.client.MailjetResponse;
2222
import com.mailjet.client.errors.MailjetException;
2323
import com.mailjet.client.resource.Email;
24+
// [END mailjet_imports]
2425

2526
import org.json.JSONArray;
2627
import org.json.JSONObject;
@@ -32,6 +33,7 @@
3233
import javax.servlet.http.HttpServletRequest;
3334
import javax.servlet.http.HttpServletResponse;
3435

36+
// [START app]
3537
@SuppressWarnings("serial")
3638
public class MailjetServlet extends HttpServlet {
3739
private static final String MAILJET_API_KEY = System.getenv("MAILJET_API_KEY");
@@ -65,3 +67,4 @@ public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOEx
6567
}
6668
}
6769
}
70+
// [END app]

0 commit comments

Comments
 (0)