Uses of Class
com.sun.mail.iap.Response
-
Packages that use Response Package Description com.sun.mail.iap This package includes internal IMAP support classes and SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.com.sun.mail.imap An IMAP protocol provider for the Jakarta Mail API that provides access to an IMAP message store.com.sun.mail.imap.protocol 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 Response Modifier and Type Field Description protected Response
ProtocolException. response
Methods in com.sun.mail.iap that return Response Modifier and Type Method Description static Response
Response. byeResponse(java.lang.Exception ex)
Return a Response object that looks like a BYE protocol response.Response[]
Protocol. command(java.lang.String command, Argument args)
Send a command to the server.Response
ProtocolException. getResponse()
Return the offending Response object.Response
Protocol. readResponse()
Methods in com.sun.mail.iap with parameters of type Response Modifier and Type Method Description void
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 Response Constructor Description BadCommandException(Response r)
Constructs an BadCommandException with the specified Response.CommandFailedException(Response r)
Constructs an CommandFailedException with the specified Response.ConnectionException(Protocol p, Response r)
Constructs an ConnectionException with the specified Response.LiteralException(Response r)
Constructs a LiteralException with the specified Response object.ParsingException(Response r)
Constructs an ParsingException with the specified Response.ProtocolException(Response r)
Constructs a ProtocolException with the specified Response object.Response(Response r)
Copy constructor. -
Uses of Response in com.sun.mail.imap
Methods in com.sun.mail.imap with parameters of type Response Modifier and Type Method Description void
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.protocol Modifier and Type Class Description class
FetchResponse
This class represents a FETCH response obtained from the input stream of an IMAP server.class
IMAPResponse
This class represents a response obtained from the input stream of an IMAP server.Methods in com.sun.mail.imap.protocol that return Response Modifier and Type Method Description 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)
Response
IMAPProtocol. readIdleResponse()
While an IDLE command is in progress, read a response sent from the server.Response
IMAPProtocol. readResponse()
Read a response from the server.Methods in com.sun.mail.imap.protocol with parameters of type Response Modifier and Type Method Description protected 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>
TFetchResponse. getItem(Response[] r, int msgno, java.lang.Class<T> c)
Return the first fetch response item of the given class for the given message number.static <T extends Item>
java.util.List<T>FetchResponse. getItems(Response[] r, int msgno, java.lang.Class<T> c)
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 Response Constructor Description ID(Response r)
Parse 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.Namespace(Response r)
Parse a namespace element out of the response.Namespaces(Response r)
Parse out all the namespaces.Status(Response r)
-