public class SmtpReplyTemplate
extends Object
Modifier and Type | Field and Description |
---|---|
int |
code
0 means default
|
String |
enhancedCode
null means default
|
String |
text
null means default
|
Constructor and Description |
---|
SmtpReplyTemplate() |
SmtpReplyTemplate(int code,
String enhancedCode,
String text) |
Modifier and Type | Method and Description |
---|---|
void |
checkFullySpecified() |
SmtpReplyTemplate |
format(Object... arguments) |
SmtpReplyTemplate |
resolveDefaultsFrom(SmtpReplyTemplate... replies) |
EnhancedStatus |
toEnhancedStatus()
Converts this fully specified object to an SMTP enhanced status message.
|
public int code
public String enhancedCode
public String text
public SmtpReplyTemplate()
public SmtpReplyTemplate(int code, String enhancedCode, String text)
public void checkFullySpecified() throws IllegalArgumentException
IllegalArgumentException
public SmtpReplyTemplate format(Object... arguments)
public SmtpReplyTemplate resolveDefaultsFrom(SmtpReplyTemplate... replies)
replies
- first element must be the most specificpublic EnhancedStatus toEnhancedStatus()