Package com.mailosaur
Class MailosaurClient
java.lang.Object
com.mailosaur.MailosaurClient
-
Constructor Summary
ConstructorsConstructorDescriptionMailosaurClient(String apiKey) Initializes an instance of the Mailosaur client.MailosaurClient(String apiKey, String baseUrl) Initializes an instance of the Mailosaur client. -
Method Summary
Modifier and TypeMethodDescriptionanalysis()Gets message analysis operations.devices()Gets device management operations.files()Gets file operations.messages()Gets message operations.previews()Gets Email Previews operations.com.google.api.client.http.HttpResponsecom.google.api.client.http.HttpResponsecom.google.api.client.http.HttpResponsecom.google.api.client.http.HttpResponserequestFile(String method, String path) servers()Gets server management operations.usage()Gets account usage operations.
-
Constructor Details
-
MailosaurClient
Initializes an instance of the Mailosaur client.- Parameters:
apiKey- Your Mailosaur API key.
-
MailosaurClient
Initializes an instance of the Mailosaur client.- Parameters:
apiKey- Your Mailosaur API key.baseUrl- Alternative base URL of the Mailosaur service.
-
-
Method Details
-
analysis
Gets message analysis operations.- Returns:
- Message analysis operations.
-
files
Gets file operations.- Returns:
- File operations.
-
messages
Gets message operations.- Returns:
- Message operations.
-
servers
Gets server management operations.- Returns:
- Server management operations.
-
usage
Gets account usage operations.- Returns:
- Account usage operations.
-
devices
Gets device management operations.- Returns:
- Device management operations.
-
previews
Gets Email Previews operations.- Returns:
- Email Previews operations.
-
request
public com.google.api.client.http.HttpResponse request(String method, String url) throws MailosaurException - Throws:
MailosaurException
-
request
public com.google.api.client.http.HttpResponse request(String method, String url, HashMap<String, String> query) throws MailosaurException- Throws:
MailosaurException
-
request
public com.google.api.client.http.HttpResponse request(String method, String url, Object content) throws MailosaurException - Throws:
MailosaurException
-
request
public com.google.api.client.http.HttpResponse request(String method, String url, Object content, HashMap<String, String> query) throws MailosaurException- Throws:
MailosaurException
-
requestFile
public ByteArrayOutputStream requestFile(String method, String path) throws MailosaurException, IOException - Throws:
MailosaurExceptionIOException
-