public class ServerOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
SMTP_PORT |
| Constructor and Description |
|---|
ServerOptions() |
ServerOptions(String[] args) |
| Modifier and Type | Method and Description |
|---|---|
MailStore |
getMailStore() |
int |
getPort() |
int |
getWaitInResponse() |
boolean |
isThreaded() |
ServerOptions |
notThreaded() |
ServerOptions |
threaded() |
ServerOptions |
withDefaultSmtpPort() |
ServerOptions |
withMailStore(MailStore mailStore) |
ServerOptions |
withRandomSmtpPort() |
ServerOptions |
withSmtpPort(int port) |
ServerOptions |
withWaitInResponseInMs(int waitInResponse) |
public static final int SMTP_PORT
public ServerOptions()
public ServerOptions(String[] args)
public ServerOptions threaded()
public ServerOptions notThreaded()
public ServerOptions withMailStore(MailStore mailStore)
public ServerOptions withDefaultSmtpPort()
public ServerOptions withRandomSmtpPort()
public ServerOptions withSmtpPort(int port)
public ServerOptions withWaitInResponseInMs(int waitInResponse)
public int getPort()
public boolean isThreaded()
public MailStore getMailStore()
public int getWaitInResponse()
Copyright © 2017. All rights reserved.