|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.net.smtp.SMTPReply
public final class SMTPReply
SMTPReply stores a set of constants for SMTP reply codes. To interpret the meaning of the codes, familiarity with RFC 821 is assumed. The mnemonic constant names are transcriptions from the code descriptions of RFC 821.
Field Summary | |
---|---|
static int |
ACTION_ABORTED
|
static int |
ACTION_NOT_TAKEN
|
static int |
ACTION_OK
|
static int |
BAD_COMMAND_SEQUENCE
|
static int |
COMMAND_NOT_IMPLEMENTED
|
static int |
COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER
|
static int |
HELP_MESSAGE
|
static int |
INSUFFICIENT_STORAGE
|
static int |
MAILBOX_NAME_NOT_ALLOWED
|
static int |
MAILBOX_UNAVAILABLE
|
static int |
SERVICE_CLOSING_TRANSMISSION_CHANNEL
|
static int |
SERVICE_NOT_AVAILABLE
|
static int |
SERVICE_READY
|
static int |
START_MAIL_INPUT
|
static int |
STORAGE_ALLOCATION_EXCEEDED
|
static int |
SYNTAX_ERROR_IN_ARGUMENTS
|
static int |
SYSTEM_STATUS
|
static int |
TRANSACTION_FAILED
|
static int |
UNRECOGNIZED_COMMAND
|
static int |
USER_NOT_LOCAL
|
static int |
USER_NOT_LOCAL_WILL_FORWARD
|
Method Summary | |
---|---|
static boolean |
isNegativePermanent(int reply)
Determine if a reply code is a negative permanent response. |
static boolean |
isNegativeTransient(int reply)
Determine if a reply code is a negative transient response. |
static boolean |
isPositiveCompletion(int reply)
Determine if a reply code is a positive completion response. |
static boolean |
isPositiveIntermediate(int reply)
Determine if a reply code is a positive intermediate response. |
static boolean |
isPositivePreliminary(int reply)
Determine if a reply code is a positive preliminary response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SYSTEM_STATUS
public static final int HELP_MESSAGE
public static final int SERVICE_READY
public static final int SERVICE_CLOSING_TRANSMISSION_CHANNEL
public static final int ACTION_OK
public static final int USER_NOT_LOCAL_WILL_FORWARD
public static final int START_MAIL_INPUT
public static final int SERVICE_NOT_AVAILABLE
public static final int ACTION_NOT_TAKEN
public static final int ACTION_ABORTED
public static final int INSUFFICIENT_STORAGE
public static final int UNRECOGNIZED_COMMAND
public static final int SYNTAX_ERROR_IN_ARGUMENTS
public static final int COMMAND_NOT_IMPLEMENTED
public static final int BAD_COMMAND_SEQUENCE
public static final int COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER
public static final int MAILBOX_UNAVAILABLE
public static final int USER_NOT_LOCAL
public static final int STORAGE_ALLOCATION_EXCEEDED
public static final int MAILBOX_NAME_NOT_ALLOWED
public static final int TRANSACTION_FAILED
Method Detail |
---|
public static boolean isPositivePreliminary(int reply)
Note: No SMTP commands defined in RFC 822 provide this type of reply.
reply
- The reply code to test.
public static boolean isPositiveCompletion(int reply)
reply
- The reply code to test.
public static boolean isPositiveIntermediate(int reply)
reply
- The reply code to test.
public static boolean isNegativeTransient(int reply)
reply
- The reply code to test.
public static boolean isNegativePermanent(int reply)
reply
- The reply code to test.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |