public class MaileonConfiguration
extends java.lang.Object
Constructor and Description |
---|
MaileonConfiguration(java.lang.String baseUri,
java.lang.String apiKey)
Instantiates a new Maileon configuration.
|
MaileonConfiguration(java.lang.String baseUri,
java.lang.String apiKey,
java.net.Proxy proxy)
Instantiates a new Maileon configuration.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApiKey()
Gets the API key.
|
java.lang.String |
getBaseUri()
Gets the base URI.
|
MaileonProxy |
getProxy()
Gets the proxy.
|
boolean |
isDebug()
Describes if debug mode with extended output is enabled
|
boolean |
isIgnoreSslErrors()
Describes if SSL errors be ignored?
|
MaileonConfiguration |
setDebug(boolean debug)
Set if debug mode with extended output is enabled
|
MaileonConfiguration |
setIgnoreSslErrors(boolean ignoreSslErrors)
If set to debug mode and this setting is true, SSL errors will be ignored
|
public MaileonConfiguration(java.lang.String baseUri, java.lang.String apiKey)
baseUri
- the base URIapiKey
- the API keypublic MaileonConfiguration(java.lang.String baseUri, java.lang.String apiKey, java.net.Proxy proxy)
baseUri
- the base URIapiKey
- the API keyproxy
- public java.lang.String getBaseUri()
public java.lang.String getApiKey()
public MaileonProxy getProxy()
public boolean isDebug()
public MaileonConfiguration setDebug(boolean debug)
debug
- True, if debug mode should be enabledpublic boolean isIgnoreSslErrors()
public MaileonConfiguration setIgnoreSslErrors(boolean ignoreSslErrors)
ignoreSslErrors
- Copyright © 2018. All Rights Reserved.