Class POP3Command


  • public final class POP3Command
    extends java.lang.Object
    POP3Command stores POP3 command code constants.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int APOP
      Authorization.
      static int AUTH
      Authentication
      static int CAPA
      The capabilities command.
      (package private) static java.lang.String[] commands  
      static int DELE
      Delete message(s).
      static int LIST
      List message(s).
      private static int NEXT  
      static int NOOP
      No operation.
      static int PASS
      Send password.
      static int QUIT
      Quit session.
      static int RETR
      Retrieve message(s).
      static int RSET
      Reset session.
      static int STAT
      Get status.
      static int TOP
      Retrieve top number lines from message.
      static int UIDL
      List unique message identifier(s).
      static int USER
      Send user name.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private POP3Command()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getCommand​(int command)
      Get the POP3 protocol string command corresponding to a command code.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • POP3Command

        private POP3Command()
    • Method Detail

      • getCommand

        public static java.lang.String getCommand​(int command)
        Get 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.