Uses of Class
com.sun.mail.iap.Response
Packages that use Response
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 Response in com.sun.mail.iap
Fields in com.sun.mail.iap declared as ResponseMethods in com.sun.mail.iap that return ResponseModifier and TypeMethodDescriptionstatic Response
Response.byeResponse
(Exception ex) Return a Response object that looks like a BYE protocol response.Response[]
Send a command to the server.ProtocolException.getResponse()
Return the offending Response object.Protocol.readResponse()
Methods in com.sun.mail.iap with parameters of type ResponseModifier and TypeMethodDescriptionvoid
ResponseHandler.handleResponse
(Response r) void
Protocol.handleResult
(Response response) Convenience routine to handle OK, NO, BAD and BYE responses.void
Protocol.notifyResponseHandlers
(Response[] responses) Notify response handlersprotected void
Protocol.processGreeting
(Response r) Constructors in com.sun.mail.iap with parameters of type ResponseModifierConstructorDescriptionConstructs an BadCommandException with the specified Response.Constructs an CommandFailedException with the specified Response.Constructs an ConnectionException with the specified Response.Constructs a LiteralException with the specified Response object.Constructs an ParsingException with the specified Response.Constructs a ProtocolException with the specified Response object.Copy constructor. -
Uses of Response in com.sun.mail.imap
Methods in com.sun.mail.imap with parameters of type ResponseModifier and TypeMethodDescriptionvoid
IMAPFolder.handleResponse
(Response r) The response handler.void
IMAPStore.handleResponse
(Response r) Response handler method. -
Uses of Response in com.sun.mail.imap.protocol
Subclasses of Response in com.sun.mail.imap.protocolModifier and TypeClassDescriptionclass
This class represents a FETCH response obtained from the input stream of an IMAP server.class
This class represents a response obtained from the input stream of an IMAP server.Methods in com.sun.mail.imap.protocol that return ResponseModifier and TypeMethodDescriptionResponse[]
Response[]
Response[]
IMAPProtocol.fetch
(MessageSet[] msgsets, String what) IMAPProtocol.readIdleResponse()
While an IDLE command is in progress, read a response sent from the server.IMAPProtocol.readResponse()
Read a response from the server.Methods in com.sun.mail.imap.protocol with parameters of type ResponseModifier and TypeMethodDescriptionprotected CopyUID
IMAPProtocol.getCopyUID
(Response[] rr) If the response contains a COPYUID response code, extract it and return a CopyUID object with the information.static <T extends Item>
TReturn the first fetch response item of the given class for the given message number.Return all fetch response items of the given class for the given message number.void
IMAPProtocol.handleCapabilityResponse
(Response[] r) Handle any untagged CAPABILITY response in the Response array.protected void
IMAPProtocol.handleLoginResult
(Response r) Handle the result response for a LOGIN or AUTHENTICATE command.protected void
IMAPProtocol.parseCapabilities
(Response r) Parse the capabilities from a CAPABILITY response or from a CAPABILITY response code attached to (e.g.) an OK response.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().protected void
IMAPProtocol.setCapabilities
(Response r) If the response contains a CAPABILITY response code, extract it and save the capabilities.Constructors in com.sun.mail.imap.protocol with parameters of type ResponseModifierConstructorDescriptionParse the server parameter list out of the response.MailboxInfo
(Response[] r) Collect the information about this mailbox from the responses to a SELECT or EXAMINE.Parse a namespace element out of the response.Parse out all the namespaces.