Module org.eclipse.angus.mail.gimap
Package org.eclipse.angus.mail.gimap
Class GmailFolder.FetchProfileItem
java.lang.Object
jakarta.mail.FetchProfile.Item
org.eclipse.angus.mail.gimap.GmailFolder.FetchProfileItem
- Enclosing class:
- GmailFolder
A fetch profile item for fetching headers.
This inner class extends the
FetchProfile.Item
class to add new FetchProfile item types, specific to Gmail.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final GmailFolder.FetchProfileItem
LABELS is a fetch profile item that can be included in aFetchProfile
during a fetch request to a Folder.static final GmailFolder.FetchProfileItem
MSGID is a fetch profile item that can be included in aFetchProfile
during a fetch request to a Folder.static final GmailFolder.FetchProfileItem
THRID is a fetch profile item that can be included in aFetchProfile
during a fetch request to a Folder.Fields inherited from class jakarta.mail.FetchProfile.Item
CONTENT_INFO, ENVELOPE, FLAGS, SIZE
-
Constructor Summary
-
Method Summary
Methods inherited from class jakarta.mail.FetchProfile.Item
toString
-
Field Details
-
MSGID
MSGID is a fetch profile item that can be included in aFetchProfile
during a fetch request to a Folder. This item indicates that the Gmail unique message ID for messages in the specified range are desired to be prefetched.An example of how a client uses this is below:
FetchProfile fp = new FetchProfile(); fp.add(GmailFolder.FetchProfileItem.MSGID); folder.fetch(msgs, fp);
-
THRID
THRID is a fetch profile item that can be included in aFetchProfile
during a fetch request to a Folder. This item indicates that the Gmail unique thread ID for messages in the specified range are desired to be prefetched.An example of how a client uses this is below:
FetchProfile fp = new FetchProfile(); fp.add(GmailFolder.FetchProfileItem.THRID); folder.fetch(msgs, fp);
-
LABELS
LABELS is a fetch profile item that can be included in aFetchProfile
during a fetch request to a Folder. This item indicates that the Gmail labels for messages in the specified range are desired to be prefetched.An example of how a client uses this is below:
FetchProfile fp = new FetchProfile(); fp.add(GmailFolder.FetchProfileItem.LABELS); folder.fetch(msgs, fp);
-
-
Constructor Details
-
FetchProfileItem
-