Skip to content

Commit

Permalink
Update MailjetServlet.java (#231)
Browse files Browse the repository at this point in the history
Add region tags for documentation.
  • Loading branch information
carieshmarie authored and lesv committed May 8, 2016
1 parent 723b480 commit faed5ad
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// [START mailjet_imports]
package com.example.appengine.mailjet;

import com.mailjet.client.MailjetClient;
import com.mailjet.client.MailjetRequest;
import com.mailjet.client.MailjetResponse;
import com.mailjet.client.errors.MailjetException;
import com.mailjet.client.resource.Email;
// [END mailjet_imports]

import org.json.JSONArray;
import org.json.JSONObject;
Expand All @@ -32,6 +33,7 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

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

0 comments on commit faed5ad

Please sign in to comment.