| Package | Description |
|---|---|
| com.mailjet.client | |
| com.mailjet.client.easy |
A proposal of a higher-level wrapper of the java API.
|
| Modifier and Type | Method and Description |
|---|---|
MailjetRequest |
MailjetRequest.append(String key,
Object value)
Append a value to the body[key]
|
MailjetRequest |
MailjetRequest.filter(String key,
int value)
Add a String/int filter to the _filters hash
|
MailjetRequest |
MailjetRequest.filter(String key,
String value)
Add a String-String filter to the the _filters hash
|
MailjetRequest |
MailjetRequest.property(String key,
Object value)
Add a property to the body JSONObject
|
MailjetRequest |
MailjetRequest.setBody(HashMap<String,Object> json)
Use an HashMap to build the body
|
MailjetRequest |
MailjetRequest.setBody(org.json.JSONObject json)
Pass a JSONObject formatted json as the request body
|
MailjetRequest |
MailjetRequest.setBody(String json)
Pass a String formatted json as the request body
|
MailjetRequest |
MailjetRequest.setData(String path) |
| Modifier and Type | Method and Description |
|---|---|
MailjetResponse |
MailjetClient.delete(MailjetRequest request) |
MailjetResponse |
MailjetClient.get(MailjetRequest request)
Perform a get Request on a Mailjet endpoint
|
MailjetResponse |
MailjetClient.post(MailjetRequest request)
perform a Mailjet POST request.
|
MailjetResponse |
MailjetClient.put(MailjetRequest request) |
| Modifier and Type | Method and Description |
|---|---|
MailjetRequest |
MJEasyEmail.getRequest()
Get the internal MailjetRequest wrapped by the MJEasyEmail object
|
| Constructor and Description |
|---|
MJEasyEmail(MJEasyClient client,
MailjetRequest request) |
Copyright © 2017. All rights reserved.