GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update MailjetServlet.java (#231) · vithushan19/java-docs-samples@faed5ad

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • appengine/mailjet/src/main/java/com/example/appengine/mailjet
    • MailjetServlet.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: appengine/mailjet/src/main/java/com/example/appengine/mailjet/MailjetServlet.java
+4-1Lines 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 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.