Modifier and Type | Method and Description |
---|---|
static LmtpReply |
adapt(LmtpResponse resp) |
boolean |
isTemporaryFailure() |
boolean |
success() |
java.lang.String |
toString() |
static LmtpReply |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LmtpReply[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LmtpReply OK
public static final LmtpReply SENDER_OK
public static final LmtpReply RECIPIENT_OK
public static final LmtpReply DELIVERY_OK
public static final LmtpReply OK_TO_SEND_DATA
public static final LmtpReply USE_RCPT_INSTEAD
public static final LmtpReply BYE
public static final LmtpReply GREETING
public static final LmtpReply SERVICE_DISABLED
public static final LmtpReply MAILBOX_DISABLED
public static final LmtpReply MAILBOX_NOT_ON_THIS_SERVER
public static final LmtpReply TEMPORARY_FAILURE
public static final LmtpReply IO_ERROR
public static final LmtpReply TEMPORARY_FAILURE_OVER_QUOTA
public static final LmtpReply TIMEOUT
public static final LmtpReply NESTED_MAIL_COMMAND
public static final LmtpReply NO_RECIPIENTS
public static final LmtpReply MISSING_MAIL_TO
public static final LmtpReply SYNTAX_ERROR
public static final LmtpReply INVALID_RECIPIENT_ADDRESS
public static final LmtpReply INVALID_SENDER_ADDRESS
public static final LmtpReply INVALID_BODY_PARAMETER
public static final LmtpReply INVALID_SIZE_PARAMETER
public static final LmtpReply NO_SUCH_USER
public static final LmtpReply PERMANENT_FAILURE_OVER_QUOTA
public static final LmtpReply PERMANENT_FAILURE
public static LmtpReply[] values()
for (LmtpReply c : LmtpReply.values()) System.out.println(c);
public static LmtpReply valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static LmtpReply adapt(LmtpResponse resp)
public java.lang.String toString()
toString
in class java.lang.Enum<LmtpReply>
public boolean success()
public boolean isTemporaryFailure()
Copyright © 2021. All Rights Reserved.