Package org.apache.commons.net.pop3
Class POP3Command
java.lang.Object
org.apache.commons.net.pop3.POP3Command
POP3Command stores POP3 command code constants.
- 
Field SummaryFieldsModifier 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 SummaryModifier and TypeMethodDescriptionstatic StringgetCommand(int command) Gets the POP3 protocol string command corresponding to a command code.
- 
Field Details- 
USERSend user name.- See Also:
 
- 
PASSSend password.- See Also:
 
- 
QUITQuit session.- See Also:
 
- 
STATGets status.- See Also:
 
- 
LISTList message(s).- See Also:
 
- 
RETRRetrieve message(s).- See Also:
 
- 
DELEDelete message(s).- See Also:
 
- 
NOOPNo operation. Used as a session keepalive.- See Also:
 
- 
RSETReset session.- See Also:
 
- 
APOPAuthorization.- See Also:
 
- 
TOPRetrieve top number lines from message.- See Also:
 
- 
UIDLList unique message identifier(s).- See Also:
 
- 
CAPAThe capabilities command.- Since:
- 3.0
- See Also:
 
- 
AUTHAuthentication- Since:
- 3.0
- See Also:
 
 
- 
- 
Method Details- 
getCommandGets 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.
 
 
-