Package net.messagevortex.transport.imap
Class ImapCommandAuthenticate
java.lang.Object
net.messagevortex.transport.imap.ImapCommand
net.messagevortex.transport.imap.ImapCommandAuthenticate
- All Implemented Interfaces:
Cloneable
Provides the the Authenticate command to the IMAP server.
- Since:
- 2014-12-09
- Version:
- 1.0
- Author:
- Martin Gwerder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]static StringgetChallenge(int length) String[]Returns the Identifier (IMAP command) which are processed by this class.voidinit()Initializer called by the static constructor of ImapCommand.String[]processCommand(ImapLine line) process authentication command.
-
Constructor Details
-
ImapCommandAuthenticate
public ImapCommandAuthenticate()
-
-
Method Details
-
init
public void init()Initializer called by the static constructor of ImapCommand.
-
getChallenge
-
processCommand
process authentication command.
- Specified by:
processCommandin classImapCommand- Parameters:
line- The context of the line triggered- Returns:
- multilined server reply (if any)
- Throws:
ImapException- when problem processing the command
-
getCommandIdentifier
Returns the Identifier (IMAP command) which are processed by this class.
- Specified by:
getCommandIdentifierin classImapCommand- Returns:
- A list of identifiers
-
getCapabilities
- Specified by:
getCapabilitiesin classImapCommand
-