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 JavaMail 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.
|
Modifier and Type | Field and Description |
---|---|
protected Response |
ProtocolException.response |
Modifier and Type | Method and Description |
---|---|
static Response |
Response.byeResponse(Exception ex)
Return a Response object that looks like a BYE protocol response.
|
Response[] |
Protocol.command(String command,
Argument args)
Send a command to the server.
|
Response |
ProtocolException.getResponse()
Return the offending Response object.
|
Response |
Protocol.readResponse() |
Modifier and Type | Method and 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 handlers
|
protected void |
Protocol.processGreeting(Response r) |
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
IMAPStore.handleResponse(Response r)
Response handler method.
|
void |
IMAPFolder.handleResponse(Response r)
The response handler.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
Response[] |
IMAPProtocol.fetch(int start,
int end,
String what) |
Response[] |
IMAPProtocol.fetch(int msg,
String what) |
Response[] |
IMAPProtocol.fetch(MessageSet[] msgsets,
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.
|
Modifier and Type | Method and 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> |
FetchResponse.getItem(Response[] r,
int msgno,
Class<T> c)
Return the first fetch response item of the given class
for the given message number.
|
static <T extends Item> |
FetchResponse.getItems(Response[] r,
int msgno,
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.
|
Constructor and 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) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.