Uses of Class
com.sun.mail.iap.ProtocolException
Packages that use ProtocolException
Package
Description
This package includes internal IMAP support classes and
SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.
An IMAP protocol provider for the Jakarta Mail API
that provides access to an IMAP message store.
This package includes internal IMAP support classes and
SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.
-
Uses of ProtocolException in com.sun.mail.iap
Subclasses of ProtocolException in com.sun.mail.iapModifier and TypeClassDescriptionclassclassclassclassclassMethods in com.sun.mail.iap that throw ProtocolExceptionModifier and TypeMethodDescriptionvoidProtocol.handleResult(Response response) Convenience routine to handle OK, NO, BAD and BYE responses.protected voidProtocol.processGreeting(Response r) Protocol.readResponse()voidProtocol.simpleCommand(String cmd, Argument args) Convenience routine to handle simple IAP commands that do not have responses specific to that command.voidProtocol.startCompression(String cmd) Start compression on the current connection.voidStart TLS on the current connection.voidProtocol.writeCommand(String command, Argument args) Constructors in com.sun.mail.iap that throw ProtocolExceptionModifierConstructorDescriptionProtocol(String host, int port, Properties props, String prefix, boolean isSSL, MailLogger logger) Constructor.Read a new Response from the given Protocol -
Uses of ProtocolException in com.sun.mail.imap
Methods in com.sun.mail.imap that throw ProtocolExceptionModifier and TypeMethodDescriptionIMAPFolder.ProtocolCommand.doCommand(IMAPProtocol protocol) Execute the user-defined command using the supplied IMAPProtocol object.protected ObjectIMAPFolder.doProtocolCommand(IMAPFolder.ProtocolCommand cmd) protected IMAPProtocolIMAPFolder.getProtocol()Return the IMAPProtocol object for this folder.protected IMAPProtocolIMAPMessage.getProtocol()Get this message's folder's protocol connection.protected IMAPProtocolIMAPNestedMessage.getProtocol()protected IMAPProtocolIMAPFolder.getStoreProtocol()Get this folder's Store's protocol connection.protected voidIMAPFolder.keepConnectionAlive(boolean keepStoreAlive) Issue a noop command for the connection if the connection has not been used in more than a second.protected IMAPProtocolIMAPStore.newIMAPProtocol(String host, int port) Create an IMAPProtocol object connected to the host and port.protected voidIMAPStore.preLogin(IMAPProtocol p) This method is called after the connection is made and TLS is started (if needed), but before any authentication is attempted. -
Uses of ProtocolException in com.sun.mail.imap.protocol
Subclasses of ProtocolException in com.sun.mail.imap.protocolModifier and TypeClassDescriptionclassA ProtocolException that includes IMAP login referral information.Methods in com.sun.mail.imap.protocol that throw ProtocolExceptionModifier and TypeMethodDescriptionvoidAPPEND Command.APPEND Command, return uid from APPENDUID response code.booleanIMAPSaslAuthenticator.authenticate(String[] mechs, String realm, String authzid, String u, String p) booleanvoidThe AUTHENTICATE command with AUTH=LOGIN authenticate schemevoidThe AUTHENTICATE command with AUTH=NTLM authentication scheme.voidIMAPProtocol.authoauth2(String u, String p) The AUTHENTICATE command with AUTH=XOAUTH2 authentication scheme.voidThe AUTHENTICATE command with AUTH=PLAIN authentication scheme.voidIMAPProtocol.capability()CAPABILITY command.voidIMAPProtocol.check()CHECK Command.voidIMAPProtocol.close()CLOSE Command.voidIMAPProtocol.compress()COMPRESS Command.voidCOPY command.voidIMAPProtocol.copy(MessageSet[] msgsets, String mbox) COPY command.COPY command, return uid from COPYUID response code.IMAPProtocol.copyuid(MessageSet[] msgsets, String mbox) COPY command, return uid from COPYUID response code.voidCREATE Command.voidDELETE Command.voidDELETEACL Command.protected ListInfo[]Execute the specified LIST-like command (e.g., "LIST" or "LSUB"), using the reference and pattern.voidENABLE Command.EXAMINE Command.IMAPProtocol.examine(String mbox, ResyncData rd) EXAMINE Command with QRESYNC data.voidIMAPProtocol.expunge()EXPUNGE Command.Response[]Response[]Response[]IMAPProtocol.fetch(MessageSet[] msgsets, String what) Fetch given BODY section.protected BODYPartial FETCH of given BODY section.protected BODYPartial FETCH of given BODY section.IMAPProtocol.fetchBodyStructure(int msgno) Fetch the BODYSTRUCTURE of the specified message.IMAPProtocol.fetchFlags(int msgno) Fetch the FLAGS for the given message.IMAPProtocol.fetchMODSEQ(int msgno) Fetch the IMAP MODSEQ for the given message.IMAPProtocol.fetchRFC822(int msgno, String what) Fetch the specified RFC822 Data item.protected BODYIMAPProtocol.fetchSectionBody(int msgno, String section, String body) Fetch the given body section of the given message, using the body string "body".voidIMAPProtocol.fetchSequenceNumber(long uid) Get the sequence number for the given UID.voidIMAPProtocol.fetchSequenceNumbers(long[] uids) Get the sequence numbers for UIDs specified in the array.long[]IMAPProtocol.fetchSequenceNumbers(long start, long end) Get the sequence numbers for UIDs ranging from start till end.IMAPProtocol.fetchUID(int msgno) Fetch the IMAP UID for the given message.ACL[]GETACL Command.Quota[]GETQUOTA Command.Quota[]IMAPProtocol.getQuotaRoot(String mbox) GETQUOTAROOT Command.protected voidIMAPProtocol.handleLoginResult(Response r) Handle the result response for a LOGIN or AUTHENTICATE command.voidDeprecated.ID Command.voidIMAPProtocol.idleStart()IDLE Command.ListInfo[]LIST Command.Rights[]IMAPProtocol.listRights(String mbox, String user) LISTRIGHTS Command.voidLOGIN Command.voidIMAPProtocol.logout()LOGOUT Command.ListInfo[]LSUB Command.voidMOVE command.voidIMAPProtocol.move(MessageSet[] msgsets, String mbox) MOVE command.MOVE Command, return uid from COPYUID response code.IMAPProtocol.moveuid(MessageSet[] msgsets, String mbox) MOVE Command, return uid from COPYUID response code.MYRIGHTS Command.IMAPProtocol.namespace()NAMESPACE Command.voidIMAPProtocol.noop()The NOOP command.Fetch given BODY section, without marking the message as SEEN.Partial FETCH of given BODY section, without setting SEEN flag.Partial FETCH of given BODY section, without setting SEEN flag.protected voidIMAPProtocol.processGreeting(Response r) Check the greeting when first connecting; look for PREAUTH response.booleanIMAPProtocol.processIdleResponse(Response r) Process a response returned by readIdleResponse().voidPROXYAUTH Command.IMAPProtocol.readResponse()Read a response from the server.voidRENAME Command.voidSASL-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.SELECT Command.IMAPProtocol.select(String mbox, ResyncData rd) SELECT Command with QRESYNC data.voidSETACL Command.voidSETQUOTA Command.int[]IMAPProtocol.sort(SortTerm[] term, SearchTerm sterm) Sort messages in the folder according to the specified sort criteria.voidIMAPProtocol.startTLS()STARTTLS Command.STATUS Command.voidIMAPProtocol.storeFlags(int start, int end, Flags flags, boolean set) voidIMAPProtocol.storeFlags(int msg, Flags flags, boolean set) Set the specified flags on this message.voidIMAPProtocol.storeFlags(MessageSet[] msgsets, Flags flags, boolean set) voidSUBSCRIBE Command.voidIMAPProtocol.uidexpunge(UIDSet[] set) UID EXPUNGE Command.int[]IMAPProtocol.uidfetchChangedSince(long start, long end, long modseq) Get the sequence numbers for messages changed since the given modseq and with UIDs ranging from start till end.voidIMAPProtocol.unauthenticate()UNAUTHENTICATE Command.voidIMAPProtocol.unselect()UNSELECT Command.voidIMAPProtocol.unsubscribe(String mbox) UNSUBSCRIBE Command.Constructors in com.sun.mail.imap.protocol that throw ProtocolExceptionModifierConstructorDescriptionFetchResponse(IMAPResponse r, FetchItem[] fitems) Construct a FetchResponse that handles the additional FetchItems.Parse the server parameter list out of the response.IMAPProtocol(String name, String host, int port, Properties props, boolean isSSL, MailLogger logger) Constructor.For testing.IMAPResponse(String r, boolean utf8) For testing.Parse a namespace element out of the response.Parse out all the namespaces.
id(Map<String,String>)