public interface ImapCommand
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
void |
process(ImapRequestLineReader request,
ImapResponse response,
ImapSession session)
Performs all processing of the current Imap request.
|
boolean |
validForState(ImapSessionState state)
Specifies if this command is valid for the given session state.
|
java.lang.String getName()
boolean validForState(ImapSessionState state)
state
- The current state
of the ImapSession
true
if the command is valid in this state.void process(ImapRequestLineReader request, ImapResponse response, ImapSession session)
request
- The current client requestresponse
- The current server responsesession
- The current session