Class POP3Command
java.lang.Object
org.apache.commons.net.pop3.POP3Command
POP3Command stores POP3 command code constants.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAuthorization.static final intAuthenticationstatic final intThe capabilities command.static final intDelete message(s).static final intList message(s).static final intNo operation.static final intSend password.static final intQuit session.static final intRetrieve message(s).static final intReset session.static final intGets status.static final intRetrieve top number lines from message.static final intList unique message identifier(s).static final intSend user name. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetCommand(int command) Gets the POP3 protocol string command corresponding to a command code.
-
Field Details
-
USER
-
PASS
-
QUIT
-
STAT
-
LIST
-
RETR
-
DELE
-
NOOP
-
RSET
-
APOP
-
TOP
-
UIDL
-
CAPA
-
AUTH
-
-
Method Details
-
getCommand
Gets the POP3 protocol string command corresponding to a command code.- Parameters:
command- the command code- Returns:
- The POP3 protocol string command corresponding to a command code.
-