|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ProtocolException | |
---|---|
com.sun.mail.iap | |
com.sun.mail.imap | An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store. |
com.sun.mail.imap.protocol |
Uses of ProtocolException in com.sun.mail.iap |
---|
Subclasses of ProtocolException in com.sun.mail.iap | |
---|---|
class |
BadCommandException
|
class |
CommandFailedException
|
class |
ConnectionException
|
class |
LiteralException
|
class |
ParsingException
|
Methods in com.sun.mail.iap that throw ProtocolException | |
---|---|
void |
Protocol.handleResult(Response response)
Convenience routine to handle OK, NO, BAD and BYE responses. |
protected void |
Protocol.processGreeting(Response r)
|
Response |
Protocol.readResponse()
|
void |
Protocol.simpleCommand(java.lang.String cmd,
Argument args)
Convenience routine to handle simple IAP commands that do not have responses specific to that command. |
void |
Protocol.startTLS(java.lang.String cmd)
Start TLS on the current connection. |
void |
Argument.write(Protocol protocol)
|
java.lang.String |
Protocol.writeCommand(java.lang.String command,
Argument args)
|
Constructors in com.sun.mail.iap that throw ProtocolException | |
---|---|
Protocol(java.lang.String host,
int port,
boolean debug,
java.io.PrintStream out,
java.util.Properties props,
java.lang.String prefix,
boolean isSSL)
Constructor. |
|
Response(Protocol p)
Read a new Response from the given Protocol |
Uses of ProtocolException in com.sun.mail.imap |
---|
Methods in com.sun.mail.imap that throw ProtocolException | |
---|---|
java.lang.Object |
IMAPFolder.ProtocolCommand.doCommand(IMAPProtocol protocol)
Execute the user-defined command using the supplied IMAPProtocol object. |
protected java.lang.Object |
IMAPFolder.doProtocolCommand(IMAPFolder.ProtocolCommand cmd)
|
protected IMAPProtocol |
IMAPMessage.getProtocol()
Get this message's folder's protocol connection. |
protected IMAPProtocol |
IMAPNestedMessage.getProtocol()
|
protected IMAPProtocol |
IMAPFolder.getStoreProtocol()
Get this folder's Store's protocol connection. |
Uses of ProtocolException in com.sun.mail.imap.protocol |
---|
Methods in com.sun.mail.imap.protocol that throw ProtocolException | |
---|---|
void |
IMAPProtocol.append(java.lang.String mbox,
Flags f,
java.util.Date d,
Literal data)
APPEND Command. |
AppendUID |
IMAPProtocol.appenduid(java.lang.String mbox,
Flags f,
java.util.Date d,
Literal data)
APPEND Command, return uid from APPENDUID response code. |
AppendUID |
IMAPProtocol.appenduid(java.lang.String mbox,
Flags f,
java.util.Date d,
Literal data,
boolean uid)
|
boolean |
SaslAuthenticator.authenticate(java.lang.String[] mechs,
java.lang.String realm,
java.lang.String authzid,
java.lang.String u,
java.lang.String p)
|
boolean |
IMAPSaslAuthenticator.authenticate(java.lang.String[] mechs,
java.lang.String realm,
java.lang.String authzid,
java.lang.String u,
java.lang.String p)
|
void |
IMAPProtocol.authlogin(java.lang.String u,
java.lang.String p)
The AUTHENTICATE command with AUTH=LOGIN authenticate scheme |
void |
IMAPProtocol.authplain(java.lang.String authzid,
java.lang.String u,
java.lang.String p)
The AUTHENTICATE command with AUTH=PLAIN authentication scheme. |
void |
IMAPProtocol.capability()
CAPABILITY command. |
void |
IMAPProtocol.check()
CHECK Command. |
void |
IMAPProtocol.close()
CLOSE Command. |
void |
IMAPProtocol.copy(int start,
int end,
java.lang.String mbox)
|
void |
IMAPProtocol.copy(MessageSet[] msgsets,
java.lang.String mbox)
COPY command. |
void |
IMAPProtocol.create(java.lang.String mbox)
CREATE Command. |
void |
IMAPProtocol.delete(java.lang.String mbox)
DELETE Command. |
void |
IMAPProtocol.deleteACL(java.lang.String mbox,
java.lang.String user)
DELETEACL Command. |
MailboxInfo |
IMAPProtocol.examine(java.lang.String mbox)
EXAMINE Command. |
void |
IMAPProtocol.expunge()
EXPUNGE Command. |
Response[] |
IMAPProtocol.fetch(int start,
int end,
java.lang.String what)
|
Response[] |
IMAPProtocol.fetch(int msg,
java.lang.String what)
|
Response[] |
IMAPProtocol.fetch(MessageSet[] msgsets,
java.lang.String what)
|
BODY |
IMAPProtocol.fetchBody(int msgno,
java.lang.String section)
Fetch given BODY section. |
protected BODY |
IMAPProtocol.fetchBody(int msgno,
java.lang.String section,
boolean peek)
|
BODY |
IMAPProtocol.fetchBody(int msgno,
java.lang.String section,
int start,
int size)
Partial FETCH of given BODY section. |
protected BODY |
IMAPProtocol.fetchBody(int msgno,
java.lang.String section,
int start,
int size,
boolean peek,
ByteArray ba)
|
BODY |
IMAPProtocol.fetchBody(int msgno,
java.lang.String section,
int start,
int size,
ByteArray ba)
Partial FETCH of given BODY section. |
BODYSTRUCTURE |
IMAPProtocol.fetchBodyStructure(int msgno)
Fetch the BODYSTRUCTURE of the specified message. |
Flags |
IMAPProtocol.fetchFlags(int msgno)
Fetch the FLAGS for the given message. |
RFC822DATA |
IMAPProtocol.fetchRFC822(int msgno,
java.lang.String what)
Fetch the specified RFC822 Data item. |
UID |
IMAPProtocol.fetchSequenceNumber(long uid)
Get the sequence number for the given UID. |
UID[] |
IMAPProtocol.fetchSequenceNumbers(long[] uids)
Get the sequence numbers for UIDs ranging from start till end. |
UID[] |
IMAPProtocol.fetchSequenceNumbers(long start,
long end)
Get the sequence numbers for UIDs ranging from start till end. |
UID |
IMAPProtocol.fetchUID(int msgno)
Fetch the IMAP UID for the given message. |
ACL[] |
IMAPProtocol.getACL(java.lang.String mbox)
GETACL Command. |
Quota[] |
IMAPProtocol.getQuota(java.lang.String root)
GETQUOTA Command. |
Quota[] |
IMAPProtocol.getQuotaRoot(java.lang.String mbox)
GETQUOTAROOT Command. |
void |
IMAPProtocol.idleAbort()
Abort an IDLE command. |
void |
IMAPProtocol.idleStart()
IDLE Command. |
ListInfo[] |
IMAPProtocol.list(java.lang.String ref,
java.lang.String pattern)
LIST Command. |
Rights[] |
IMAPProtocol.listRights(java.lang.String mbox,
java.lang.String user)
LISTRIGHTS Command. |
void |
IMAPProtocol.login(java.lang.String u,
java.lang.String p)
LOGIN Command. |
void |
IMAPProtocol.logout()
LOGOUT Command. |
ListInfo[] |
IMAPProtocol.lsub(java.lang.String ref,
java.lang.String pattern)
LSUB Command. |
Rights |
IMAPProtocol.myRights(java.lang.String mbox)
MYRIGHTS Command. |
Namespaces |
IMAPProtocol.namespace()
NAMESPACE Command. |
void |
IMAPProtocol.noop()
The NOOP command. |
BODY |
IMAPProtocol.peekBody(int msgno,
java.lang.String section)
Fetch given BODY section, without marking the message as SEEN. |
BODY |
IMAPProtocol.peekBody(int msgno,
java.lang.String section,
int start,
int size)
Partial FETCH of given BODY section, without setting SEEN flag. |
BODY |
IMAPProtocol.peekBody(int msgno,
java.lang.String section,
int start,
int size,
ByteArray ba)
Partial FETCH of given BODY section, without setting SEEN flag. |
protected void |
IMAPProtocol.processGreeting(Response r)
Check the greeting when first connecting; look for PREAUTH response. |
boolean |
IMAPProtocol.processIdleResponse(Response r)
Process a response returned by readIdleResponse(). |
void |
IMAPProtocol.proxyauth(java.lang.String u)
PROXYAUTH Command. |
Response |
IMAPProtocol.readResponse()
Read a response from the server. |
static IMAPResponse |
IMAPResponse.readResponse(Protocol p)
|
void |
IMAPProtocol.rename(java.lang.String o,
java.lang.String n)
RENAME Command. |
void |
IMAPProtocol.sasllogin(java.lang.String[] allowed,
java.lang.String realm,
java.lang.String authzid,
java.lang.String u,
java.lang.String p)
SASL-based login. |
int[] |
IMAPProtocol.search(MessageSet[] msgsets,
SearchTerm term)
Issue the given search criterion on the specified message sets. |
int[] |
IMAPProtocol.search(SearchTerm term)
Issue the given search criterion on all messages in this folder. |
MailboxInfo |
IMAPProtocol.select(java.lang.String mbox)
SELECT Command. |
void |
IMAPProtocol.setACL(java.lang.String mbox,
char modifier,
ACL acl)
SETACL Command. |
void |
IMAPProtocol.setQuota(Quota quota)
SETQUOTA Command. |
void |
IMAPProtocol.startTLS()
STARTTLS Command. |
Status |
IMAPProtocol.status(java.lang.String mbox,
java.lang.String[] items)
STATUS Command. |
void |
IMAPProtocol.storeFlags(int msg,
Flags flags,
boolean set)
Set the specified flags on this message. |
void |
IMAPProtocol.storeFlags(int start,
int end,
Flags flags,
boolean set)
|
void |
IMAPProtocol.storeFlags(MessageSet[] msgsets,
Flags flags,
boolean set)
|
void |
IMAPProtocol.subscribe(java.lang.String mbox)
SUBSCRIBE Command. |
void |
IMAPProtocol.uidexpunge(UIDSet[] set)
UID EXPUNGE Command. |
void |
IMAPProtocol.unsubscribe(java.lang.String mbox)
UNSUBSCRIBE Command. |
Constructors in com.sun.mail.imap.protocol that throw ProtocolException | |
---|---|
FetchResponse(IMAPResponse r)
|
|
FetchResponse(Protocol p)
|
|
IMAPProtocol(java.lang.String name,
java.lang.String host,
int port,
boolean debug,
java.io.PrintStream out,
java.util.Properties props,
boolean isSSL)
Constructor. |
|
IMAPResponse(Protocol c)
|
|
Namespaces.Namespace(Response r)
Parse a namespace element out of the response. |
|
Namespaces(Response r)
Parse out all the namespaces. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |