com.hs.mail.imap.message.request
Class ImapRequest

java.lang.Object
  extended by com.hs.mail.imap.message.request.ImapRequest
Direct Known Subclasses:
AbstractListRequest, AbstractMailboxRequest, AppendRequest, AuthenticateRequest, CapabilityRequest, CheckRequest, CloseRequest, CopyRequest, ExpungeRequest, FetchRequest, GetQuotaRequest, LoginRequest, LogoutRequest, NamespaceRequest, NoopRequest, RenameRequest, SearchRequest, SetQuotaRequest, StatusRequest, StoreRequest

public abstract class ImapRequest
extends Object

An IMAP request.

Since:
Jan 14, 2010
Author:
Won Chul Doh

Constructor Summary
protected ImapRequest(String tag, String command)
          Constructor for AbstractCommand.
 
Method Summary
 String getCommand()
           
 String getTag()
           
abstract  boolean validForState(ImapSession.State state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImapRequest

protected ImapRequest(String tag,
                      String command)
Constructor for AbstractCommand.

Method Detail

getTag

public String getTag()

getCommand

public String getCommand()

validForState

public abstract boolean validForState(ImapSession.State state)


Copyright © 2011. All Rights Reserved.