A B C D E F G H I J K L M N O P Q R S T U V W 

A

AbstractServer - Class in com.icegreen.greenmail.server
 
AbstractServer(ServerSetup, Managers) - Constructor for class com.icegreen.greenmail.server.AbstractServer
 
aConfig() - Static method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
 
acquire() - Method in class com.icegreen.greenmail.mail.MovingMessage
 
add(StoredMessage) - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
 
add(StoredMessage) - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
 
add(StoredMessage) - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
 
addDefaultSetups(String, Properties, List<ServerSetup>) - Method in class com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder
 
added(int) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
added(int) - Method in interface com.icegreen.greenmail.store.FolderListener
 
addListener(FolderListener) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
addListener(FolderListener) - Method in interface com.icegreen.greenmail.store.MailFolder
 
addRecipient(MailAddress) - Method in class com.icegreen.greenmail.mail.MovingMessage
 
addSetup(String, String, Properties, List<ServerSetup>) - Method in class com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder
 
addTestSetups(String, Properties, List<ServerSetup>) - Method in class com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder
 
addUser(GreenMailUser) - Method in class com.icegreen.greenmail.user.UserManager
 
ALL - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
ALL - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
 
ALL_FLAGS - Static variable in class com.icegreen.greenmail.store.MessageFlags
 
ALREADY_EXISTS_LOCALLY - Static variable in exception com.icegreen.greenmail.store.FolderException
 
ALREADY_EXISTS_REMOTELY - Static variable in exception com.icegreen.greenmail.store.FolderException
 
ANSWERED - Static variable in class com.icegreen.greenmail.store.MessageFlags
 
ApopCommand - Class in com.icegreen.greenmail.pop3.commands
 
ApopCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.ApopCommand
 
appendMessage(MimeMessage, Flags, Date) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
appendMessage(MimeMessage, Flags, Date) - Method in interface com.icegreen.greenmail.store.MailFolder
 
appendQuota(Quota, StringBuilder) - Method in class com.icegreen.greenmail.imap.commands.QuotaCommand
 
appendQuotaRootName(Quota, StringBuilder) - Method in class com.icegreen.greenmail.imap.commands.QuotaCommand
 
apply(Statement, Description) - Method in class com.icegreen.greenmail.junit.GreenMailRule
 
apply(Statement, FrameworkMethod, Object) - Method in class com.icegreen.greenmail.junit.GreenMailRule
 
astring(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Reads an argument of type "astring" from the request.
atom(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Reads an argument of type "atom" from the request.
authenticate(String) - Method in class com.icegreen.greenmail.pop3.Pop3State
 
authenticate(String) - Method in interface com.icegreen.greenmail.user.GreenMailUser
 
authenticate(String) - Method in class com.icegreen.greenmail.user.UserImpl
 
AUTHENTICATED - Static variable in class com.icegreen.greenmail.imap.ImapSessionState
 
AuthorizationException - Exception in com.icegreen.greenmail.imap
Thrown when a user attempts to do something (e.g.
AuthorizationException(String) - Constructor for exception com.icegreen.greenmail.imap.AuthorizationException
Construct a new AuthorizationException instance.

B

BAD - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
badResponse(String) - Method in class com.icegreen.greenmail.imap.ImapResponse
Writes a standard untagged BAD response, together with a descriptive message.
bindTo - Variable in class com.icegreen.greenmail.server.AbstractServer
 
build(Properties) - Method in class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
Builds a configuration object based on given properties.
build() - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
 
build(Properties) - Method in class com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder
Creates a server setup based on provided properties.
BYE - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
byeResponse(String) - Method in class com.icegreen.greenmail.imap.ImapResponse
 

C

CAPABILITIES - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
CapaCommand - Class in com.icegreen.greenmail.pop3.commands
Handles the CAPA command.
CapaCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.CapaCommand
 
CHARSET_EIGHT_BIT_ENCODING - Static variable in class com.icegreen.greenmail.util.EncodingUtil
Predefined Charset for 8-Bit encoding.
checkClientTrusted(X509Certificate[], String) - Method in class com.icegreen.greenmail.util.DummyTrustManager
 
checkData(SmtpState) - Method in class com.icegreen.greenmail.smtp.SmtpManager
 
checkRecipient(SmtpState, MailAddress) - Method in class com.icegreen.greenmail.smtp.SmtpManager
 
checkSender(SmtpState, MailAddress) - Method in class com.icegreen.greenmail.smtp.SmtpManager
 
checkServerTrusted(X509Certificate[], String) - Method in class com.icegreen.greenmail.util.DummyTrustManager
 
clear() - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
 
clear() - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
 
clear() - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
 
clearMessage() - Method in class com.icegreen.greenmail.smtp.SmtpState
To destroy a half-contructed message.
close() - Method in class com.icegreen.greenmail.imap.ImapHandler
Resets the handler data to a basic state.
close() - Method in class com.icegreen.greenmail.pop3.Pop3Connection
 
close() - Method in class com.icegreen.greenmail.pop3.Pop3Handler
 
close() - Method in interface com.icegreen.greenmail.server.ProtocolHandler
Closes all resources, such as sockets.
close() - Method in class com.icegreen.greenmail.util.Retriever
Closes the underlying store.
closeConnection() - Method in interface com.icegreen.greenmail.imap.ImapSession
Closes the connection for this session.
closeConnection(String) - Method in interface com.icegreen.greenmail.imap.ImapSession
Closes the connection for this session with a final good-bye message.
closeConnection(String) - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
 
closeConnection() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
 
closeServerSocket() - Method in class com.icegreen.greenmail.server.AbstractServer
Closes the server socket.
com.icegreen.greenmail - package com.icegreen.greenmail
GreenMail is an intuitive and easy-to-use test suite ofemail servers for testing purposes.
com.icegreen.greenmail.base - package com.icegreen.greenmail.base
 
com.icegreen.greenmail.configuration - package com.icegreen.greenmail.configuration
 
com.icegreen.greenmail.foedus.util - package com.icegreen.greenmail.foedus.util
 
com.icegreen.greenmail.imap - package com.icegreen.greenmail.imap
 
com.icegreen.greenmail.imap.commands - package com.icegreen.greenmail.imap.commands
 
com.icegreen.greenmail.junit - package com.icegreen.greenmail.junit
 
com.icegreen.greenmail.mail - package com.icegreen.greenmail.mail
 
com.icegreen.greenmail.pop3 - package com.icegreen.greenmail.pop3
 
com.icegreen.greenmail.pop3.commands - package com.icegreen.greenmail.pop3.commands
 
com.icegreen.greenmail.server - package com.icegreen.greenmail.server
 
com.icegreen.greenmail.smtp - package com.icegreen.greenmail.smtp
 
com.icegreen.greenmail.smtp.commands - package com.icegreen.greenmail.smtp.commands
 
com.icegreen.greenmail.store - package com.icegreen.greenmail.store
 
com.icegreen.greenmail.user - package com.icegreen.greenmail.user
 
com.icegreen.greenmail.util - package com.icegreen.greenmail.util
 
com.icegreen.greenmail.util.strings - package com.icegreen.greenmail.util.strings
 
commandComplete(ImapCommand) - Method in class com.icegreen.greenmail.imap.ImapResponse
Writes a standard tagged OK response on completion of a command.
commandComplete(ImapCommand, String) - Method in class com.icegreen.greenmail.imap.ImapResponse
Writes a standard tagged OK response on completion of a command, with a response code (eg READ-WRITE) Response is writen as:
commandContinuationRequest() - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
Sends a server command continuation request '+' back to the client, requesting more data to be sent.
commandError(String) - Method in class com.icegreen.greenmail.imap.ImapResponse
Writes a standard BAD response on command error, together with a descriptive message.
commandFailed(ImapCommand, String) - Method in class com.icegreen.greenmail.imap.ImapResponse
Writes a standard NO response on command failure, together with a descriptive message.
commandFailed(ImapCommand, String, String) - Method in class com.icegreen.greenmail.imap.ImapResponse
Writes a standard NO response on command failure, together with a descriptive message.
CommandParser - Class in com.icegreen.greenmail.imap.commands
 
CommandParser() - Constructor for class com.icegreen.greenmail.imap.commands.CommandParser
 
CommandParser.ATOM_CHARValidator - Class in com.icegreen.greenmail.imap.commands
 
CommandParser.ATOM_CHARValidator() - Constructor for class com.icegreen.greenmail.imap.commands.CommandParser.ATOM_CHARValidator
 
CommandParser.CharacterValidator - Interface in com.icegreen.greenmail.imap.commands
Provides the ability to ensure characters are part of a permitted set.
CommandParser.DigitCharValidator - Class in com.icegreen.greenmail.imap.commands
 
CommandParser.DigitCharValidator() - Constructor for class com.icegreen.greenmail.imap.commands.CommandParser.DigitCharValidator
 
CommandParser.NoopCharValidator - Class in com.icegreen.greenmail.imap.commands
 
CommandParser.NoopCharValidator() - Constructor for class com.icegreen.greenmail.imap.commands.CommandParser.NoopCharValidator
 
commandResponse(ImapCommand, String) - Method in class com.icegreen.greenmail.imap.ImapResponse
 
ConfiguredGreenMail - Class in com.icegreen.greenmail.configuration
A version of GreenMailOperations that implements the configure() method.
ConfiguredGreenMail() - Constructor for class com.icegreen.greenmail.configuration.ConfiguredGreenMail
 
configureJavaMailSessionProperties(Properties, boolean) - Method in class com.icegreen.greenmail.util.ServerSetup
Creates default properties for a JavaMail session.
CONNECTION_TIMEOUT - Static variable in class com.icegreen.greenmail.util.ServerSetup
Default socket connection timeout.
consume() - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
Consumes the current character in the reader, so that subsequent calls to the request will provide a new character.
consumeChar(ImapRequestLineReader, char) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Consumes the next character in the request, checking that it matches the expected one.
consumeLine() - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
 
consumeLiteral(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Reads an argument of type "literal" from the request, in the format: "{" charCount "}" CRLF *CHAR8 Note before calling, the request should be positioned so that nextChar is '{'.
consumeLiteralAsBytes(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
 
consumeLong(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
 
consumeQuoted(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Reads a quoted string value from the request.
consumeWord(ImapRequestLineReader, CommandParser.CharacterValidator) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Reads the next "word from the request, comprising all characters up to the next SPACE.
convertUidsToIdRangeArray(List<Long>) - Static method in class com.icegreen.greenmail.imap.commands.IdRange
 
copy(Reader, Writer) - Static method in class com.icegreen.greenmail.foedus.util.StreamUtils
 
copyMessage(long, MailFolder) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
copyMessage(long, MailFolder) - Method in interface com.icegreen.greenmail.store.MailFolder
 
copyStream(InputStream, OutputStream) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
Writes the content of an input stream to an output stream
create(String) - Static method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
 
create(SearchKey) - Static method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
 
create() - Method in interface com.icegreen.greenmail.user.GreenMailUser
 
create() - Method in class com.icegreen.greenmail.user.UserImpl
 
createAndAddNewWaitObject(int) - Method in class com.icegreen.greenmail.smtp.SmtpManager
 
createCopy() - Method in class com.icegreen.greenmail.util.ServerSetup
Create a deep copy.
createCopy(String) - Method in class com.icegreen.greenmail.util.ServerSetup
Create a deep copy.
createForEncoding(OutputStream, boolean, Charset) - Static method in class com.icegreen.greenmail.util.InternetPrintWriter
Creates a new InternetPrintWriter for given charset encoding.
createMailbox(GreenMailUser, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
Returns a reference to a newly created Mailbox.
createMailbox(GreenMailUser, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
 
createMailbox(MailFolder, String, boolean) - Method in class com.icegreen.greenmail.store.InMemoryStore
 
createMailbox(MailFolder, String, boolean) - Method in interface com.icegreen.greenmail.store.Store
Creates a mailbox under the supplied parent with the given name.
createPrivateMailAccount(GreenMailUser) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
Registers a user with the ImapHost, creating a personal mail space and INBOX for that user.
createPrivateMailAccount(GreenMailUser) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
 
createProtocolHandler(Socket) - Method in class com.icegreen.greenmail.imap.ImapServer
 
createProtocolHandler(Socket) - Method in class com.icegreen.greenmail.pop3.Pop3Server
 
createProtocolHandler(Socket) - Method in class com.icegreen.greenmail.server.AbstractServer
Create a new, specific protocol handler such as for IMAP.
createProtocolHandler(Socket) - Method in class com.icegreen.greenmail.smtp.SmtpServer
 
createServerSocket() - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
 
createServerSocket(int) - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
 
createServerSocket(int, int) - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
 
createServerSocket(int, int, InetAddress) - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
 
createSession(Properties) - Method in class com.icegreen.greenmail.server.AbstractServer
Creates a session configured for given server (IMAP, SMTP, ...).
createSession(Properties, boolean) - Method in class com.icegreen.greenmail.server.AbstractServer
Creates a session configured for given server (IMAP, SMTP, ...).
createSession() - Method in class com.icegreen.greenmail.server.AbstractServer
Creates a session configured for given server (IMAP, SMTP, ...).
createSocket() - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
 
createSocket(Socket, String, int, boolean) - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
 
createSocket(InetAddress, int) - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
 
createSocket(String, int) - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
 
createStore() - Method in class com.icegreen.greenmail.imap.ImapServer
 
createStore() - Method in class com.icegreen.greenmail.pop3.Pop3Server
 
createStore() - Method in class com.icegreen.greenmail.server.AbstractServer
Creates a new JavaMail store.
createTextEmail(String, String, String, String, ServerSetup) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
 
createUser(String, String, String) - Method in class com.icegreen.greenmail.user.UserManager
 
createUsers(GreenMailOperations, InternetAddress...) - Static method in class com.icegreen.greenmail.util.UserUtil
Create users for the given array of addresses.

D

DataCommand - Class in com.icegreen.greenmail.smtp.commands
DATA command.
DataCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.DataCommand
 
dateTime(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Reads a "date-time" argument from the request.
DeleCommand - Class in com.icegreen.greenmail.pop3.commands
 
DeleCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.DeleCommand
 
delete() - Method in interface com.icegreen.greenmail.foedus.util.Resource
 
delete() - Method in class com.icegreen.greenmail.foedus.util.StringBufferResource
 
delete() - Method in interface com.icegreen.greenmail.user.GreenMailUser
 
delete() - Method in class com.icegreen.greenmail.user.UserImpl
 
deleteAllMessages() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
deleteAllMessages() - Method in interface com.icegreen.greenmail.store.MailFolder
 
DELETED - Static variable in class com.icegreen.greenmail.store.MessageFlags
 
deleteMailbox(GreenMailUser, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
Deletes an existing MailBox.
deleteMailbox(GreenMailUser, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
 
deleteMailbox(MailFolder) - Method in class com.icegreen.greenmail.store.InMemoryStore
 
deleteMailbox(MailFolder) - Method in interface com.icegreen.greenmail.store.Store
Deletes the supplied mailbox from the store.
deleteUser(GreenMailUser) - Method in class com.icegreen.greenmail.user.UserManager
 
deliver(MovingMessage) - Method in interface com.icegreen.greenmail.user.GreenMailUser
 
deliver(MimeMessage) - Method in interface com.icegreen.greenmail.user.GreenMailUser
 
deliver(MovingMessage) - Method in class com.icegreen.greenmail.user.UserImpl
 
deliver(MimeMessage) - Method in class com.icegreen.greenmail.user.UserImpl
 
deselect() - Method in interface com.icegreen.greenmail.imap.ImapSession
Moves the session out of ImapSessionState.SELECTED state and back into ImapSessionState.AUTHENTICATED state.
deselect() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
deselect() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
 
doConfigure() - Method in class com.icegreen.greenmail.configuration.ConfiguredGreenMail
This method can be used by child classes to apply the configuration that is stored in config.
doProcess(ImapRequestLineReader, ImapResponse, ImapSession) - Method in class com.icegreen.greenmail.imap.commands.QuotaCommand
 
doProcess(ImapRequestLineReader, ImapResponse, ImapSession) - Method in class com.icegreen.greenmail.imap.commands.QuotaRootCommand
 
doProcess(ImapRequestLineReader, ImapResponse, ImapSession) - Method in class com.icegreen.greenmail.imap.commands.SetQuotaCommand
 
doProcess(ImapRequestLineReader, ImapResponse, ImapSession, boolean) - Method in interface com.icegreen.greenmail.imap.commands.UidEnabledCommand
 
DRAFT - Static variable in class com.icegreen.greenmail.store.MessageFlags
 
DummySSLServerSocketFactory - Class in com.icegreen.greenmail.util
DummySSLServerSocketFactory - NOT SECURE

Contains a preconfigured key store for convenience in testing by avoiding having to manually setup, install, and generate keystore / keys.

DummySSLServerSocketFactory() - Constructor for class com.icegreen.greenmail.util.DummySSLServerSocketFactory
 
DummySSLSocketFactory - Class in com.icegreen.greenmail.util
DummySSLSocketFactory - NOT SECURE
DummySSLSocketFactory() - Constructor for class com.icegreen.greenmail.util.DummySSLSocketFactory
 
DummyTrustManager - Class in com.icegreen.greenmail.util
DummyTrustManager - NOT SECURE
DummyTrustManager() - Constructor for class com.icegreen.greenmail.util.DummyTrustManager
 

E

EIGHT_BIT_ENCODING - Static variable in class com.icegreen.greenmail.util.EncodingUtil
Constant for 8-Bit encoding, which can be resembled by "ISO-8859-1"
emailReceived() - Method in class com.icegreen.greenmail.smtp.SmtpManager.WaitObject
 
EncodingUtil - Class in com.icegreen.greenmail.util
Helper for handling encodings.
endLine(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Consumes the request up to and including the eno-of-line.
eol() - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
Moves the request line reader to end of the line, checking that no non-space character are found.
equals(Object) - Method in class com.icegreen.greenmail.configuration.UserBean
 
equals(Object) - Method in class com.icegreen.greenmail.user.UserImpl
 
equals(Object) - Method in class com.icegreen.greenmail.util.ServerSetup
 
escapeJava(String) - Static method in class com.icegreen.greenmail.util.strings.JavaEscape
Perform a Java level 2 (basic set and all non-ASCII chars) escape operation on a String input.
escapeJava(String, JavaEscapeLevel) - Static method in class com.icegreen.greenmail.util.strings.JavaEscape
Perform a (configurable) Java escape operation on a String input.
escapeJava(char[], int, int, Writer) - Static method in class com.icegreen.greenmail.util.strings.JavaEscape
Perform a Java level 2 (basic set and all non-ASCII chars) escape operation on a char[] input.
escapeJava(char[], int, int, Writer, JavaEscapeLevel) - Static method in class com.icegreen.greenmail.util.strings.JavaEscape
Perform a (configurable) Java escape operation on a char[] input.
escapeJavaMinimal(String) - Static method in class com.icegreen.greenmail.util.strings.JavaEscape
Perform a Java level 1 (only basic set) escape operation on a String input.
escapeJavaMinimal(char[], int, int, Writer) - Static method in class com.icegreen.greenmail.util.strings.JavaEscape
Perform a Java level 1 (only basic set) escape operation on a char[] input.
execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.ApopCommand
 
execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.CapaCommand
 
execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.DeleCommand
 
execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.ListCommand
 
execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.NoopCommand
 
execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.PassCommand
 
execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.Pop3Command
 
execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.QuitCommand
 
execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.RetrCommand
 
execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.RsetCommand
 
execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.StatCommand
 
execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.TopCommand
 
execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.UidlCommand
 
execute(Pop3Connection, Pop3State, String) - Method in class com.icegreen.greenmail.pop3.commands.UserCommand
 
execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.DataCommand
 
execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.HeloCommand
 
execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.MailCommand
 
execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.NoopCommand
 
execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.QuitCommand
 
execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.RcptCommand
 
execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.RsetCommand
 
execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.SmtpCommand
 
execute(SmtpConnection, SmtpState, SmtpManager, String) - Method in class com.icegreen.greenmail.smtp.commands.VrfyCommand
 
existsResponse(int) - Method in class com.icegreen.greenmail.imap.ImapResponse
 
expectsParameter() - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
 
expunge() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
expunge(List<FolderListener>) - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
 
expunge() - Method in interface com.icegreen.greenmail.store.MailFolder
 
expunge(List<FolderListener>) - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
 
expunge(List<FolderListener>) - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
 
expunged(int) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
expunged(int) - Method in interface com.icegreen.greenmail.store.FolderListener
 
expungeResponse(int) - Method in class com.icegreen.greenmail.imap.ImapResponse
 
extractAndAddUser(GreenMailConfiguration, String) - Method in class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
 

F

fetchResponse(int, String) - Method in class com.icegreen.greenmail.imap.ImapResponse
 
FLAGGED - Static variable in class com.icegreen.greenmail.store.MessageFlags
 
flagList(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Reads a "flags" argument from the request.
flagsResponse(Flags) - Method in class com.icegreen.greenmail.imap.ImapResponse
 
flagsUpdated(int, Flags, Long) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
flagsUpdated(int, Flags, Long) - Method in interface com.icegreen.greenmail.store.FolderListener
 
FolderException - Exception in com.icegreen.greenmail.store
Thrown on an inappropriate attempt to reference a mailbox.
FolderException(String) - Constructor for exception com.icegreen.greenmail.store.FolderException
Construct a new MailboxException instance.
FolderException(Exception) - Constructor for exception com.icegreen.greenmail.store.FolderException
Constructor wrapping original exception.
FolderException(String, Exception) - Constructor for exception com.icegreen.greenmail.store.FolderException
Constructor wrapping original exception.
FolderException(String, String) - Constructor for exception com.icegreen.greenmail.store.FolderException
Construct a new MailBoxException instance.
FolderException(String, String, String) - Constructor for exception com.icegreen.greenmail.store.FolderException
Construct a new MailBoxException instance.
FolderListener - Interface in com.icegreen.greenmail.store
 
forceConnectionClose(String) - Method in class com.icegreen.greenmail.imap.ImapHandler
 
forLevel(int) - Static method in enum com.icegreen.greenmail.util.strings.JavaEscapeLevel
Utility method for obtaining an enum value from its corresponding int level value.
format(Flags) - Static method in class com.icegreen.greenmail.store.MessageFlags
Returns IMAP formatted String of MessageFlags for named user

G

get(int) - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
 
get(int) - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
 
get(int) - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
 
getAcceptedIssuers() - Method in class com.icegreen.greenmail.util.DummyTrustManager
 
getAddressList(Address[]) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
 
getAllMessages() - Method in interface com.icegreen.greenmail.imap.ImapHostManager
Returns all messages.
getAllMessages() - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
 
getAsString() - Method in interface com.icegreen.greenmail.foedus.util.Resource
 
getAsString() - Method in class com.icegreen.greenmail.foedus.util.StringBufferResource
 
getAttributes() - Method in class com.icegreen.greenmail.store.StoredMessage
 
getBindAddress() - Method in class com.icegreen.greenmail.util.ServerSetup
 
getBindTo() - Method in class com.icegreen.greenmail.server.AbstractServer
 
getBody(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
 
getBodyAsBytes(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
 
getBodyStructure(boolean) - Method in interface com.icegreen.greenmail.store.MailMessageAttributes
Provides the Body Structure information for this message.
getBodyStructure(boolean) - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
 
getChildren(MailFolder) - Method in class com.icegreen.greenmail.store.InMemoryStore
 
getChildren(MailFolder) - Method in interface com.icegreen.greenmail.store.Store
 
getClientAddress() - Method in class com.icegreen.greenmail.pop3.Pop3Connection
 
getClientAddress() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
 
getClientIP() - Method in interface com.icegreen.greenmail.imap.ImapSession
 
getClientIP() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
 
getCommand(String) - Method in class com.icegreen.greenmail.imap.commands.ImapCommandFactory
 
getCommand(String) - Method in class com.icegreen.greenmail.pop3.commands.Pop3CommandRegistry
 
getCommand(String) - Method in class com.icegreen.greenmail.smtp.commands.SmtpCommandRegistry
 
getConnectionTimeout() - Method in class com.icegreen.greenmail.util.ServerSetup
 
getContent() - Method in class com.icegreen.greenmail.mail.MovingMessage
 
getDefault() - Static method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
 
getDefault() - Static method in class com.icegreen.greenmail.util.DummySSLSocketFactory
 
getDefaultBindAddress() - Method in class com.icegreen.greenmail.util.ServerSetup
Gets the public default host address "0.0.0.0" .
getDefaultCipherSuites() - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
 
getDefaultCipherSuites() - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
 
getEmail() - Method in class com.icegreen.greenmail.configuration.UserBean
 
getEmail() - Method in class com.icegreen.greenmail.mail.MailAddress
 
getEmail() - Method in interface com.icegreen.greenmail.user.GreenMailUser
 
getEmail() - Method in class com.icegreen.greenmail.user.UserImpl
 
getEmailCount() - Method in class com.icegreen.greenmail.smtp.SmtpManager.WaitObject
 
getEnvelope() - Method in interface com.icegreen.greenmail.store.MailMessageAttributes
Provides the Envelope structure information for this message.
getEnvelope() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
 
getEscapeLevel() - Method in enum com.icegreen.greenmail.util.strings.JavaEscapeLevel
Return the int escape level.
getExpunged() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getFirstUnseen() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getFirstUnseen() - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
 
getFirstUnseen() - Method in interface com.icegreen.greenmail.store.MailFolder
 
getFirstUnseen() - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
 
getFirstUnseen() - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
 
getFlags() - Method in class com.icegreen.greenmail.store.StoredMessage
 
getFlagUpdates() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getFolder(GreenMailUser, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
Returns a reference to an existing Mailbox.
getFolder(GreenMailUser, String, boolean) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
Returns a reference to an existing Mailbox.
getFolder(GreenMailUser, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
 
getFolder(GreenMailUser, String, boolean) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
 
getFolder() - Method in class com.icegreen.greenmail.pop3.Pop3State
 
getFullName() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getFullName() - Method in interface com.icegreen.greenmail.store.MailFolder
 
getGreenMail() - Method in class com.icegreen.greenmail.junit.GreenMailRule
 
getGreenMail() - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
getHeaderAsBytes(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
 
getHeaders(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
 
getHeloName() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
 
getHierarchyDelimiter() - Method in interface com.icegreen.greenmail.imap.ImapHostManager
Returns the hierarchy delimiter for mailboxes on this host.
getHierarchyDelimiter() - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
 
getHighVal() - Method in class com.icegreen.greenmail.imap.commands.IdRange
 
getHighVal() - Method in class com.icegreen.greenmail.imap.commands.MsnRange
 
getHost() - Method in interface com.icegreen.greenmail.imap.ImapSession
Provides the Imap host for this server, which is used for all access to mail storage and subscriptions.
getHost() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
 
getHost() - Method in class com.icegreen.greenmail.mail.MailAddress
 
getImap() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
 
getImap() - Method in class com.icegreen.greenmail.util.GreenMail
 
getImap() - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
getImapHostManager() - Method in class com.icegreen.greenmail.Managers
 
getImapHostManager() - Method in class com.icegreen.greenmail.user.UserManager
 
getImaps() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
 
getImaps() - Method in class com.icegreen.greenmail.util.GreenMail
 
getImaps() - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
getInbox(GreenMailUser) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
Returns a reference to the user's INBOX.
getInbox(GreenMailUser) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
 
getInputStream() - Method in interface com.icegreen.greenmail.foedus.util.Resource
 
getInputStream() - Method in class com.icegreen.greenmail.foedus.util.StringBufferResource
 
getKeyStore() - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
 
getLineCount(String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
 
getLocalHostAddress() - Static method in class com.icegreen.greenmail.util.ServerSetup
 
getLogin() - Method in class com.icegreen.greenmail.configuration.UserBean
 
getLogin() - Method in interface com.icegreen.greenmail.user.GreenMailUser
 
getLogin() - Method in class com.icegreen.greenmail.user.UserImpl
 
getLowVal() - Method in class com.icegreen.greenmail.imap.commands.IdRange
 
getLowVal() - Method in class com.icegreen.greenmail.imap.commands.MsnRange
 
getMailbox(String) - Method in class com.icegreen.greenmail.store.InMemoryStore
 
getMailbox(MailFolder, String) - Method in class com.icegreen.greenmail.store.InMemoryStore
 
getMailbox(String) - Method in interface com.icegreen.greenmail.store.Store
Retrieves a mailbox based on a fully qualified name.
getMailbox(MailFolder, String) - Method in interface com.icegreen.greenmail.store.Store
Looks up a child mailbox of the supplied parent with the name given.
getManagers() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
 
getManagers() - Method in class com.icegreen.greenmail.util.GreenMail
 
getManagers() - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
getMessage(long) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getMessage() - Method in class com.icegreen.greenmail.mail.MovingMessage
 
getMessage() - Method in class com.icegreen.greenmail.smtp.SmtpState
 
getMessage(long) - Method in interface com.icegreen.greenmail.store.MailFolder
 
getMessageByUID(long) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getMessageCount() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getMessageCount() - Method in interface com.icegreen.greenmail.store.MailFolder
 
getMessages(MsgRangeFilter) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getMessages() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getMessages(MsgRangeFilter) - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
 
getMessages() - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
 
getMessages(MsgRangeFilter) - Method in interface com.icegreen.greenmail.store.MailFolder
 
getMessages() - Method in interface com.icegreen.greenmail.store.MailFolder
 
getMessages(MsgRangeFilter) - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
 
getMessages() - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
 
getMessages(MsgRangeFilter) - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
 
getMessages() - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
 
getMessages(String) - Method in class com.icegreen.greenmail.util.Retriever
 
getMessages(String, String) - Method in class com.icegreen.greenmail.util.Retriever
 
getMessagesByUID(long, long) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getMessagesByUID(long[]) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getMessageSequenceNumber() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
Provides the current Message Sequence Number for this message.
getMessageUids() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getMessageUids() - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
 
getMessageUids() - Method in interface com.icegreen.greenmail.store.MailFolder
 
getMessageUids() - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
 
getMessageUids() - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
 
getMimeMessage() - Method in class com.icegreen.greenmail.store.StoredMessage
 
getMsn(long) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getMsn(long) - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
 
getMsn(long) - Method in interface com.icegreen.greenmail.store.MailFolder
 
getMsn(long) - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
 
getMsn(long) - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
 
getName() - Method in interface com.icegreen.greenmail.imap.commands.ImapCommand
 
getName() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getName() - Method in class com.icegreen.greenmail.mail.MailAddress
 
getName() - Method in interface com.icegreen.greenmail.store.MailFolder
 
getNonDeletedMessages() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getNonDeletedMessages() - Method in interface com.icegreen.greenmail.store.MailFolder
 
getNumberOfParameters() - Method in enum com.icegreen.greenmail.imap.commands.SearchKey
 
getParameter(int) - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
 
getParameters() - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
 
getPassword() - Method in class com.icegreen.greenmail.configuration.UserBean
 
getPassword() - Method in interface com.icegreen.greenmail.user.GreenMailUser
 
getPassword() - Method in class com.icegreen.greenmail.user.UserImpl
 
getPermanentFlags() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getPermanentFlags() - Method in interface com.icegreen.greenmail.store.MailFolder
 
getPop3() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
 
getPop3() - Method in class com.icegreen.greenmail.util.GreenMail
 
getPop3() - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
getPop3s() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
 
getPop3s() - Method in class com.icegreen.greenmail.util.GreenMail
 
getPop3s() - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
getPort() - Method in class com.icegreen.greenmail.server.AbstractServer
 
getPort() - Method in class com.icegreen.greenmail.util.ServerSetup
 
getPortOffset() - Static method in class com.icegreen.greenmail.util.ServerSetupTest
 
getProtocol() - Method in class com.icegreen.greenmail.server.AbstractServer
 
getProtocol() - Method in class com.icegreen.greenmail.util.ServerSetup
 
getQualifiedMailboxName() - Method in interface com.icegreen.greenmail.user.GreenMailUser
 
getQualifiedMailboxName() - Method in class com.icegreen.greenmail.user.UserImpl
 
getQuota(String, String) - Method in class com.icegreen.greenmail.store.InMemoryStore
 
getQuota(String, String) - Method in interface com.icegreen.greenmail.store.Store
Gets the quotas.
getQuota(GreenMailUser, String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
Gets the quotas for the user.
getReader() - Method in interface com.icegreen.greenmail.foedus.util.Resource
 
getReader() - Method in class com.icegreen.greenmail.foedus.util.StringBufferResource
 
getReader() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
 
getReadTimeout() - Method in class com.icegreen.greenmail.util.ServerSetup
 
getReceivedDate() - Method in interface com.icegreen.greenmail.store.MailMessageAttributes
Provides the date and time at which the message was received.
getReceivedDate() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
 
getReceivedDate() - Method in class com.icegreen.greenmail.store.StoredMessage
 
getReceivedDateAsString() - Method in interface com.icegreen.greenmail.store.MailMessageAttributes
Returns IMAP formatted String representation of Date
getReceivedDateAsString() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
 
getReceivedMessages() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
 
getReceivedMessages() - Method in class com.icegreen.greenmail.util.GreenMail
 
getReceivedMessages() - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
getRecentCount(boolean) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getRecentCount(boolean) - Method in interface com.icegreen.greenmail.store.MailFolder
 
getReceviedMessagesForDomain(String) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
This method can be used as an easy 'catch-all' mechanism.
getReceviedMessagesForDomain(String) - Method in class com.icegreen.greenmail.util.GreenMail
 
getReceviedMessagesForDomain(String) - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
getRemoteServer() - Method in exception com.icegreen.greenmail.store.FolderException
 
getResponseCode() - Method in exception com.icegreen.greenmail.store.FolderException
 
getReturnPath() - Method in class com.icegreen.greenmail.mail.MovingMessage
 
getSelected() - Method in interface com.icegreen.greenmail.imap.ImapSession
Provides the selected mailbox for this session, or null if this session is not in ImapSessionState.SELECTED state.
getSelected() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
 
getServerAddress() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
 
getServerGreetingsName() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
 
getServerSetup() - Method in class com.icegreen.greenmail.server.AbstractServer
 
getServerStartupTimeout() - Method in class com.icegreen.greenmail.util.ServerSetup
 
getSession(ServerSetup) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
 
getSession(ServerSetup, Properties) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
Gets a JavaMail Session for given server type such as IMAP and additional props for JavaMail.
getSize() - Method in interface com.icegreen.greenmail.foedus.util.Resource
 
getSize() - Method in class com.icegreen.greenmail.foedus.util.StringBufferResource
 
getSize() - Method in interface com.icegreen.greenmail.store.MailMessageAttributes
Provides the sizeof the message in octets.
getSize() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
 
getSmtp() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
 
getSmtp() - Method in class com.icegreen.greenmail.util.GreenMail
 
getSmtp() - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
getSmtpManager() - Method in class com.icegreen.greenmail.Managers
 
getSmtps() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
 
getSmtps() - Method in class com.icegreen.greenmail.util.GreenMail
 
getSmtps() - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
getState() - Method in interface com.icegreen.greenmail.imap.ImapSession
 
getState() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
 
getStatus() - Method in exception com.icegreen.greenmail.store.FolderException
 
getStore() - Method in interface com.icegreen.greenmail.imap.ImapHostManager
Gets the store underneath.
getStore() - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
 
getSupportedCipherSuites() - Method in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
 
getSupportedCipherSuites() - Method in class com.icegreen.greenmail.util.DummySSLSocketFactory
 
getTmpFile() - Method in class com.icegreen.greenmail.foedus.util.InMemoryWorkspace
 
getTmpFile() - Method in interface com.icegreen.greenmail.foedus.util.Workspace
 
getToAddresses() - Method in class com.icegreen.greenmail.mail.MovingMessage
 
getUID(Message) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getUID() - Method in class com.icegreen.greenmail.store.SimpleMessageAttributes
Provides the unique identity value for this message.
getUid() - Method in class com.icegreen.greenmail.store.StoredMessage
 
getUid() - Method in class com.icegreen.greenmail.store.StoredMessage.UidAwareMimeMessage
 
getUidNext() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getUidNext() - Method in interface com.icegreen.greenmail.store.MailFolder
 
getUidValidity() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getUIDValidity() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getUidValidity() - Method in interface com.icegreen.greenmail.store.MailFolder
 
getUnseenCount() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
getUnseenCount() - Method in interface com.icegreen.greenmail.store.MailFolder
 
getUser() - Method in interface com.icegreen.greenmail.imap.ImapSession
Provides the authenticated user for this session, or null if this session is not in ImapSessionState.AUTHENTICATED or ImapSessionState.SELECTED state.
getUser() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
 
getUser() - Method in class com.icegreen.greenmail.mail.MailAddress
 
getUser() - Method in class com.icegreen.greenmail.pop3.Pop3State
 
getUser(String) - Method in class com.icegreen.greenmail.pop3.Pop3State
 
getUser(String) - Method in class com.icegreen.greenmail.user.UserManager
 
getUserByEmail(String) - Method in class com.icegreen.greenmail.user.UserManager
 
getUserManager() - Method in interface com.icegreen.greenmail.imap.ImapSession
Provides the UserManager for this session, to allow session to validate logins.
getUserManager() - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
 
getUserManager() - Method in class com.icegreen.greenmail.Managers
 
getUsersToCreate() - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
 
getWholeMessage(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
 
getWriter() - Method in interface com.icegreen.greenmail.foedus.util.Resource
 
getWriter() - Method in class com.icegreen.greenmail.foedus.util.StringBufferResource
 
getWriteTimeout() - Method in class com.icegreen.greenmail.util.ServerSetup
 
GreenMail - Class in com.icegreen.greenmail.util
Utility class that manages a greenmail server with support for multiple protocols
GreenMail() - Constructor for class com.icegreen.greenmail.util.GreenMail
Creates a SMTP, SMTPS, POP3, POP3S, IMAP, and IMAPS server binding onto non-default ports.
GreenMail(ServerSetup) - Constructor for class com.icegreen.greenmail.util.GreenMail
Call this constructor if you want to run one of the email servers only
GreenMail(ServerSetup[]) - Constructor for class com.icegreen.greenmail.util.GreenMail
Call this constructor if you want to run more than one of the email servers
GREENMAIL_AUTH_DISABLED - Static variable in class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
Disables authentication check.
GREENMAIL_JKS - Static variable in class com.icegreen.greenmail.util.DummySSLServerSocketFactory
 
GREENMAIL_USERS - Static variable in class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
Property for list of users.
GreenMailConfiguration - Class in com.icegreen.greenmail.configuration
Properties that can be defined to configure a GreenMail instance or GreenMailRule.
GreenMailConfiguration() - Constructor for class com.icegreen.greenmail.configuration.GreenMailConfiguration
 
GreenMailOperations - Interface in com.icegreen.greenmail.base
Interface that contains all operations provided by the Greenmail main class
GreenMailProxy - Class in com.icegreen.greenmail.util
Proxy that routes all operations to an internal greenmail instance
GreenMailProxy() - Constructor for class com.icegreen.greenmail.util.GreenMailProxy
 
GreenMailRule - Class in com.icegreen.greenmail.junit
 
GreenMailRule(ServerSetup[]) - Constructor for class com.icegreen.greenmail.junit.GreenMailRule
Initialize with multiple server setups
GreenMailRule(ServerSetup) - Constructor for class com.icegreen.greenmail.junit.GreenMailRule
Initialize with single server setups
GreenMailRule() - Constructor for class com.icegreen.greenmail.junit.GreenMailRule
 
GreenMailUser - Interface in com.icegreen.greenmail.user
 
GreenMailUtil - Class in com.icegreen.greenmail.util
 

H

handleClientSocket(Socket) - Method in class com.icegreen.greenmail.server.AbstractServer
 
handleRequest(InputStream, OutputStream, ImapSession) - Method in class com.icegreen.greenmail.imap.ImapRequestHandler
This method parses POP3 commands read off the wire in handleConnection.
hashCode() - Method in class com.icegreen.greenmail.configuration.UserBean
 
hashCode() - Method in class com.icegreen.greenmail.user.UserImpl
 
hashCode() - Method in class com.icegreen.greenmail.util.ServerSetup
 
hasNonTextAttachments(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
 
hasUser(String) - Method in class com.icegreen.greenmail.user.UserManager
Checks if user exists.
HeloCommand - Class in com.icegreen.greenmail.smtp.commands
EHLO/HELO command.
HeloCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.HeloCommand
 
HIERARCHY_DELIMITER - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
HIERARCHY_DELIMITER_CHAR - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 

I

IdRange - Class in com.icegreen.greenmail.imap.commands
Represents a range of UID values.
IdRange(long) - Constructor for class com.icegreen.greenmail.imap.commands.IdRange
 
IdRange(long, long) - Constructor for class com.icegreen.greenmail.imap.commands.IdRange
 
idRangesToString(IdRange[]) - Static method in class com.icegreen.greenmail.imap.commands.IdRange
 
idRangeToString(IdRange) - Static method in class com.icegreen.greenmail.imap.commands.IdRange
 
IdSet - Interface in com.icegreen.greenmail.imap.commands
 
IF_CREATED_LOCAL - Static variable in exception com.icegreen.greenmail.store.FolderException
 
IF_CREATED_REMOTE - Static variable in exception com.icegreen.greenmail.store.FolderException
 
IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
 
ImapCommand - Interface in com.icegreen.greenmail.imap.commands
Represents a processor for a particular Imap command.
ImapCommandFactory - Class in com.icegreen.greenmail.imap.commands
A factory for ImapCommand instances, provided based on the command name.
ImapCommandFactory() - Constructor for class com.icegreen.greenmail.imap.commands.ImapCommandFactory
 
ImapConstants - Interface in com.icegreen.greenmail.imap
 
ImapHandler - Class in com.icegreen.greenmail.imap
The handler class for IMAP connections.
ImapHandler(UserManager, ImapHostManager, Socket) - Constructor for class com.icegreen.greenmail.imap.ImapHandler
 
ImapHostManager - Interface in com.icegreen.greenmail.imap
A host machine that has an IMAP4rev1 messaging server.
ImapHostManagerImpl - Class in com.icegreen.greenmail.imap
An initial implementation of an ImapHost.
ImapHostManagerImpl() - Constructor for class com.icegreen.greenmail.imap.ImapHostManagerImpl
Hack constructor which creates an in-memory store, and creates a console logger.
ImapHostManagerImpl(Store) - Constructor for class com.icegreen.greenmail.imap.ImapHostManagerImpl
 
ImapRequestHandler - Class in com.icegreen.greenmail.imap
 
ImapRequestHandler() - Constructor for class com.icegreen.greenmail.imap.ImapRequestHandler
 
ImapRequestLineReader - Class in com.icegreen.greenmail.imap
Wraps the client input reader with a bunch of convenience methods, allowing lookahead=1 on the underlying character stream.
ImapResponse - Class in com.icegreen.greenmail.imap
Class providing methods to send response messages from the server to the client.
ImapResponse(OutputStream) - Constructor for class com.icegreen.greenmail.imap.ImapResponse
 
IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
 
ImapServer - Class in com.icegreen.greenmail.imap
 
ImapServer(ServerSetup, Managers) - Constructor for class com.icegreen.greenmail.imap.ImapServer
 
ImapSession - Interface in com.icegreen.greenmail.imap
Encapsulates all state held for an ongoing Imap session, which commences when a client first establishes a connection to the Imap server, and continues until that connection is closed.
ImapSessionFolder - Class in com.icegreen.greenmail.imap
 
ImapSessionFolder(MailFolder, ImapSession, boolean) - Constructor for class com.icegreen.greenmail.imap.ImapSessionFolder
 
ImapSessionImpl - Class in com.icegreen.greenmail.imap
 
ImapSessionImpl(ImapHostManager, UserManager, ImapHandler, String) - Constructor for class com.icegreen.greenmail.imap.ImapSessionImpl
 
ImapSessionState - Class in com.icegreen.greenmail.imap
Enumerated type representing an IMAP session state.
INBOX_NAME - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
includes(int) - Method in class com.icegreen.greenmail.foedus.util.MsgRangeFilter
 
includes(long) - Method in class com.icegreen.greenmail.imap.commands.IdRange
 
includes(long) - Method in interface com.icegreen.greenmail.imap.commands.IdSet
 
includes(int) - Method in class com.icegreen.greenmail.imap.commands.MsnRange
 
initServerSocket() - Method in class com.icegreen.greenmail.server.AbstractServer
 
InMemoryStore - Class in com.icegreen.greenmail.store
A simple in-memory implementation of Store, used for testing and development.
InMemoryStore() - Constructor for class com.icegreen.greenmail.store.InMemoryStore
 
InMemoryWorkspace - Class in com.icegreen.greenmail.foedus.util
 
InMemoryWorkspace() - Constructor for class com.icegreen.greenmail.foedus.util.InMemoryWorkspace
 
instance() - Static method in class com.icegreen.greenmail.util.GreenMailUtil
Deprecated.
As of 1.5 and to be removed in 1.6. No need to instantiate static helper class
InternetPrintWriter - Class in com.icegreen.greenmail.util
Writes to a wrapped Writer class, ensuring that all line separators are '\r\n', regardless of platform.
InternetPrintWriter(Writer) - Constructor for class com.icegreen.greenmail.util.InternetPrintWriter
Constructor that takes a writer to wrap.
InternetPrintWriter(Writer, boolean) - Constructor for class com.icegreen.greenmail.util.InternetPrintWriter
Constructor that takes a writer to wrap.
InternetPrintWriter(OutputStream) - Constructor for class com.icegreen.greenmail.util.InternetPrintWriter
Constructor that takes a stream to wrap.
InternetPrintWriter(OutputStream, boolean) - Constructor for class com.icegreen.greenmail.util.InternetPrintWriter
Constructor that takes a stream to wrap.
isArrived() - Method in class com.icegreen.greenmail.smtp.SmtpManager.WaitObject
 
isAuthenticated() - Method in class com.icegreen.greenmail.pop3.Pop3State
 
isAuthenticationDisabled() - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
 
isListWildcard(char) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
 
isOperator() - Method in enum com.icegreen.greenmail.imap.commands.SearchKey
 
isQuotaSupported() - Method in class com.icegreen.greenmail.store.InMemoryStore
 
isQuotaSupported() - Method in interface com.icegreen.greenmail.store.Store
Checks if quota capability is activated.
isReadonly() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
isRemote() - Method in exception com.icegreen.greenmail.store.FolderException
 
isRunning() - Method in class com.icegreen.greenmail.server.AbstractServer
 
isRunning() - Method in interface com.icegreen.greenmail.util.Service
Checks if service is up and running.
isSecure() - Method in class com.icegreen.greenmail.util.ServerSetup
 
isSelectable() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
isSelectable() - Method in interface com.icegreen.greenmail.store.MailFolder
 
isSet(Flags.Flag) - Method in class com.icegreen.greenmail.store.StoredMessage
 
isSizeChanged() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
isValid(char) - Method in class com.icegreen.greenmail.imap.commands.CommandParser.ATOM_CHARValidator
 
isValid(char) - Method in interface com.icegreen.greenmail.imap.commands.CommandParser.CharacterValidator
Validates the supplied character.
isValid(char) - Method in class com.icegreen.greenmail.imap.commands.CommandParser.DigitCharValidator
 
isValid(char) - Method in class com.icegreen.greenmail.imap.commands.CommandParser.NoopCharValidator
 
isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.ApopCommand
 
isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.CapaCommand
 
isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.DeleCommand
 
isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.ListCommand
 
isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.NoopCommand
 
isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.PassCommand
 
isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.Pop3Command
 
isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.QuitCommand
 
isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.RetrCommand
 
isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.RsetCommand
 
isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.StatCommand
 
isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.TopCommand
 
isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.UidlCommand
 
isValidForState(Pop3State) - Method in class com.icegreen.greenmail.pop3.commands.UserCommand
 
iterator() - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
 
iterator() - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
 

J

JavaEscape - Class in com.icegreen.greenmail.util.strings
Utility class for performing Java escape/unescape operations.
JavaEscapeLevel - Enum in com.icegreen.greenmail.util.strings
Levels defined for Java escape/unescape operations:

K

keepOn() - Method in class com.icegreen.greenmail.server.AbstractServer
 

L

limit(Reader, long) - Static method in class com.icegreen.greenmail.foedus.util.StreamUtils
Creates a reader that will return -1 after len chars have been read.
ListBasedStoredMessageCollection - Class in com.icegreen.greenmail.store
 
ListBasedStoredMessageCollection() - Constructor for class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
 
ListCommand - Class in com.icegreen.greenmail.pop3.commands
 
ListCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.ListCommand
 
listMailboxes(GreenMailUser, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
Returns an collection of mailboxes on this host.
listMailboxes(GreenMailUser, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
 
listMailboxes(String) - Method in class com.icegreen.greenmail.store.InMemoryStore
 
listMailboxes(String) - Method in interface com.icegreen.greenmail.store.Store
Lists all of the mailboxes in the store which have a name matching the supplied search pattern.
listSubscribedMailboxes(GreenMailUser, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
Returns an collection of mailboxes on this host.
listSubscribedMailboxes(GreenMailUser, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
 
listUser() - Method in class com.icegreen.greenmail.user.UserManager
 
LOCAL_BUT_DELETED - Static variable in exception com.icegreen.greenmail.store.FolderException
 
log - Variable in class com.icegreen.greenmail.imap.ImapHandler
 
log - Variable in class com.icegreen.greenmail.imap.ImapRequestHandler
 
log - Variable in class com.icegreen.greenmail.pop3.Pop3Connection
 
log - Variable in class com.icegreen.greenmail.server.AbstractServer
 
log - Variable in class com.icegreen.greenmail.smtp.commands.SmtpCommand
 
log - Static variable in class com.icegreen.greenmail.smtp.SmtpManager
 
log - Variable in class com.icegreen.greenmail.store.SimpleMessageAttributes
 
log - Static variable in class com.icegreen.greenmail.util.DummySSLSocketFactory
 
LOGOUT - Static variable in class com.icegreen.greenmail.imap.ImapSessionState
 
logout() - Method in class com.icegreen.greenmail.util.Retriever
Deprecated.
use Retriever.close() instead.

M

MailAddress - Class in com.icegreen.greenmail.mail
 
MailAddress(String) - Constructor for class com.icegreen.greenmail.mail.MailAddress
 
mailbox(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Reads a "mailbox" argument from the request.
mailboxDeleted() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
mailboxDeleted() - Method in interface com.icegreen.greenmail.store.FolderListener
 
MailCommand - Class in com.icegreen.greenmail.smtp.commands
MAIL command.
MailCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.MailCommand
 
MailException - Exception in com.icegreen.greenmail.mail
 
MailException() - Constructor for exception com.icegreen.greenmail.mail.MailException
 
MailException(String) - Constructor for exception com.icegreen.greenmail.mail.MailException
 
MailException(String, Throwable) - Constructor for exception com.icegreen.greenmail.mail.MailException
 
MailException(Throwable) - Constructor for exception com.icegreen.greenmail.mail.MailException
 
MailFolder - Interface in com.icegreen.greenmail.store
Represents a mailbox within an Store.
MailMessageAttributes - Interface in com.icegreen.greenmail.store
Interface for objects holding IMAP4rev1 Message Attributes.
MalformedAddressException - Exception in com.icegreen.greenmail.mail
 
MalformedAddressException() - Constructor for exception com.icegreen.greenmail.mail.MalformedAddressException
 
MalformedAddressException(String) - Constructor for exception com.icegreen.greenmail.mail.MalformedAddressException
 
MalformedAddressException(String, Throwable) - Constructor for exception com.icegreen.greenmail.mail.MalformedAddressException
 
MalformedAddressException(Throwable) - Constructor for exception com.icegreen.greenmail.mail.MalformedAddressException
 
Managers - Class in com.icegreen.greenmail
 
Managers() - Constructor for class com.icegreen.greenmail.Managers
 
managers - Variable in class com.icegreen.greenmail.server.AbstractServer
 
MapBasedStoredMessageCollection - Class in com.icegreen.greenmail.store
 
MapBasedStoredMessageCollection(int) - Constructor for class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
 
match(Message) - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder.UidSearchTerm
 
match(long) - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder.UidSearchTerm
 
MaxSizeLinkedHashMap<K,V> - Class in com.icegreen.greenmail.util
A LinkedHashMap with a maximum size.
MaxSizeLinkedHashMap(int) - Constructor for class com.icegreen.greenmail.util.MaxSizeLinkedHashMap
Constructs a MaxSizeLinkedHashMap with maximum size maxSize.
MessageFlags - Class in com.icegreen.greenmail.store
The set of flags associated with a message.
MessageFlags() - Constructor for class com.icegreen.greenmail.store.MessageFlags
 
MESSAGES - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
MovingMessage - Class in com.icegreen.greenmail.mail
Contains information for delivering a mime email.
MovingMessage(Workspace) - Constructor for class com.icegreen.greenmail.mail.MovingMessage
 
MsgRangeFilter - Class in com.icegreen.greenmail.foedus.util
 
MsgRangeFilter(String, boolean) - Constructor for class com.icegreen.greenmail.foedus.util.MsgRangeFilter
 
MsnRange - Class in com.icegreen.greenmail.imap.commands
Represents a range of Message Sequence Numbers.
MsnRange(int) - Constructor for class com.icegreen.greenmail.imap.commands.MsnRange
 
MsnRange(int, int) - Constructor for class com.icegreen.greenmail.imap.commands.MsnRange
 

N

NAME - Static variable in class com.icegreen.greenmail.imap.commands.QuotaCommand
 
NAME - Static variable in class com.icegreen.greenmail.imap.commands.QuotaRootCommand
 
NAME - Static variable in class com.icegreen.greenmail.imap.commands.SetQuotaCommand
 
NAMESPACE_PREFIX - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
NAMESPACE_PREFIX_CHAR - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
newMimeMessage(InputStream) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
Convenience method which creates a new MimeMessage from an input stream.
newMimeMessage(String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
Convenience method which creates a new MimeMessage from a string
nextChar() - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
Reads the next character in the current line.
nextWordChar() - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
Reads the next regular, non-space character in the current line.
NO - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
NON_AUTHENTICATED - Static variable in class com.icegreen.greenmail.imap.ImapSessionState
 
NoopCommand - Class in com.icegreen.greenmail.pop3.commands
 
NoopCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.NoopCommand
 
NoopCommand - Class in com.icegreen.greenmail.smtp.commands
NOOP command.
NoopCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.NoopCommand
 
NoSuchUserException - Exception in com.icegreen.greenmail.user
 
NoSuchUserException() - Constructor for exception com.icegreen.greenmail.user.NoSuchUserException
 
NoSuchUserException(String) - Constructor for exception com.icegreen.greenmail.user.NoSuchUserException
 
NoSuchUserException(String, Throwable) - Constructor for exception com.icegreen.greenmail.user.NoSuchUserException
 
NoSuchUserException(Throwable) - Constructor for exception com.icegreen.greenmail.user.NoSuchUserException
 
NOT_LOCAL - Static variable in exception com.icegreen.greenmail.store.FolderException
 
nstring(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Reads an argument of type "nstring" from the request.
number(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Reads an argument of type "number" from the request.
nzNumber(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Reads an argument of type "nznumber" (a non-zero number) (NOTE this isn't strictly as per the spec, since the spec disallows numbers such as "0123" as nzNumbers (although it's ok as a "number".

O

OK - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
okResponse(String, String) - Method in class com.icegreen.greenmail.imap.ImapResponse
Writes an untagged OK response, with the supplied response code, and an optional message.
openServerSocket() - Method in class com.icegreen.greenmail.server.AbstractServer
 

P

parseIdRange(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Reads a "message set" argument, and parses into an IdSet.
parseRange(String) - Static method in class com.icegreen.greenmail.imap.commands.IdRange
Parses a single id range, eg "1" or "1:2" or "4:*".
parseRangeSequence(String) - Static method in class com.icegreen.greenmail.imap.commands.IdRange
Parses a uid sequence, a comma separated list of uid ranges.
parts - Variable in class com.icegreen.greenmail.store.SimpleMessageAttributes
 
PassCommand - Class in com.icegreen.greenmail.pop3.commands
 
PassCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.PassCommand
 
permanentFlagsResponse(Flags) - Method in class com.icegreen.greenmail.imap.ImapResponse
 
POP3 - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
POP3 - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
 
Pop3Command - Class in com.icegreen.greenmail.pop3.commands
 
Pop3Command() - Constructor for class com.icegreen.greenmail.pop3.commands.Pop3Command
 
Pop3CommandRegistry - Class in com.icegreen.greenmail.pop3.commands
 
Pop3CommandRegistry() - Constructor for class com.icegreen.greenmail.pop3.commands.Pop3CommandRegistry
 
Pop3Connection - Class in com.icegreen.greenmail.pop3
 
Pop3Connection(Pop3Handler, Socket) - Constructor for class com.icegreen.greenmail.pop3.Pop3Connection
 
Pop3Handler - Class in com.icegreen.greenmail.pop3
 
Pop3Handler(Pop3CommandRegistry, UserManager, Socket) - Constructor for class com.icegreen.greenmail.pop3.Pop3Handler
 
POP3S - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
POP3S - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
 
Pop3Server - Class in com.icegreen.greenmail.pop3
 
Pop3Server(ServerSetup, Managers) - Constructor for class com.icegreen.greenmail.pop3.Pop3Server
 
Pop3State - Class in com.icegreen.greenmail.pop3
 
Pop3State(UserManager) - Constructor for class com.icegreen.greenmail.pop3.Pop3State
 
PORT_IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
PORT_IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
PORT_POP3 - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
PORT_POP3S - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
PORT_SMTP - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
PORT_SMTPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
portOffset - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
 
print(Reader) - Method in class com.icegreen.greenmail.pop3.Pop3Connection
 
println(String) - Method in class com.icegreen.greenmail.pop3.Pop3Connection
 
println() - Method in class com.icegreen.greenmail.pop3.Pop3Connection
 
println() - Method in class com.icegreen.greenmail.util.InternetPrintWriter
Print a line separator.
println(boolean) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
Print a boolean followed by a line separator.
println(char) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
Print a char followed by a line separator.
println(int) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
Print a int followed by a line separator.
println(long) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
Print a long followed by a line separator.
println(float) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
Print a float followed by a line separator.
println(double) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
Print a double followed by a line separator.
println(char[]) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
Print a character array followed by a line separator.
println(String) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
Print a String followed by a line separator.
println(Object) - Method in class com.icegreen.greenmail.util.InternetPrintWriter
Print an Object followed by a line separator.
process(ImapRequestLineReader, ImapResponse, ImapSession) - Method in interface com.icegreen.greenmail.imap.commands.ImapCommand
Performs all processing of the current Imap request.
PropertiesBasedGreenMailConfigurationBuilder - Class in com.icegreen.greenmail.configuration
Creates GreenMailConfiguration from properties.
PropertiesBasedGreenMailConfigurationBuilder() - Constructor for class com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder
 
PropertiesBasedServerSetupBuilder - Class in com.icegreen.greenmail.util
Creates a GreenMail server setup configuration based on System properties.
PropertiesBasedServerSetupBuilder() - Constructor for class com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder
 
PROTOCOL_IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
PROTOCOL_IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
PROTOCOL_POP3 - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
PROTOCOL_POP3S - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
PROTOCOL_SMTP - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
PROTOCOL_SMTPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
ProtocolException - Exception in com.icegreen.greenmail.imap
 
ProtocolException(String) - Constructor for exception com.icegreen.greenmail.imap.ProtocolException
 
ProtocolException(String, Throwable) - Constructor for exception com.icegreen.greenmail.imap.ProtocolException
 
ProtocolHandler - Interface in com.icegreen.greenmail.server
Handles a specific protocol, such as IMAP etc.
PROTOCOLS - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
purgeEmailFromAllMailboxes() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
Remove/purge all data from all mail stores (POP3/IMAP)
purgeEmailFromAllMailboxes() - Method in class com.icegreen.greenmail.util.GreenMail
 
purgeEmailFromAllMailboxes() - Method in class com.icegreen.greenmail.util.GreenMailProxy
 

Q

quit() - Method in class com.icegreen.greenmail.pop3.Pop3Connection
 
quit() - Method in class com.icegreen.greenmail.server.AbstractServer
Quits server by closing server socket and closing client socket handlers.
quit() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
 
QuitCommand - Class in com.icegreen.greenmail.pop3.commands
 
QuitCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.QuitCommand
 
QuitCommand - Class in com.icegreen.greenmail.smtp.commands
QUIT command.
QuitCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.QuitCommand
 
QuotaCommand - Class in com.icegreen.greenmail.imap.commands
Implements IMAP Quota Extension.
QuotaCommand(String) - Constructor for class com.icegreen.greenmail.imap.commands.QuotaCommand
 
QuotaRootCommand - Class in com.icegreen.greenmail.imap.commands
Implements IMAP Quota Extension.

R

random() - Static method in class com.icegreen.greenmail.util.GreenMailUtil
Generates a random generated password consisting of letters and digits with a length variable between 5 and 8 characters long.
random(int) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
 
RcptCommand - Class in com.icegreen.greenmail.smtp.commands
RCPT command.
RcptCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.RcptCommand
 
read(byte[]) - Method in class com.icegreen.greenmail.imap.ImapRequestLineReader
Reads and consumes a number of characters from the underlying reader, filling the char array provided.
READ_TIMEOUT - Static variable in class com.icegreen.greenmail.util.ServerSetup
Default socket read timeout.
readDotTerminatedContent(BufferedReader) - Method in class com.icegreen.greenmail.mail.MovingMessage
Reads the contents of the stream until <CRLF>.<CRLF> is encountered.
readLine() - Method in class com.icegreen.greenmail.pop3.Pop3Connection
 
receiveLine() - Method in class com.icegreen.greenmail.smtp.SmtpConnection
 
RECENT - Static variable in class com.icegreen.greenmail.store.MessageFlags
 
recentResponse(int) - Method in class com.icegreen.greenmail.imap.ImapResponse
 
release(Resource) - Method in class com.icegreen.greenmail.foedus.util.InMemoryWorkspace
 
release(Resource) - Method in interface com.icegreen.greenmail.foedus.util.Workspace
 
releaseContent() - Method in class com.icegreen.greenmail.mail.MovingMessage
 
removeEldestEntry(Map.Entry<K, V>) - Method in class com.icegreen.greenmail.util.MaxSizeLinkedHashMap
removeListener(FolderListener) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
removeListener(FolderListener) - Method in interface com.icegreen.greenmail.store.MailFolder
 
removeRecipient(MailAddress) - Method in class com.icegreen.greenmail.mail.MovingMessage
 
renameMailbox(GreenMailUser, String, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
Renames an existing MailBox.
renameMailbox(GreenMailUser, String, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
 
renameMailbox(MailFolder, String) - Method in class com.icegreen.greenmail.store.InMemoryStore
 
renameMailbox(MailFolder, String) - Method in interface com.icegreen.greenmail.store.Store
Renames the mailbox with the new name.
replaceFlags(Flags, long, FolderListener, boolean) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
replaceFlags(Flags, long, FolderListener, boolean) - Method in interface com.icegreen.greenmail.store.MailFolder
 
reset() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
Restart the GreenMail server.
reset() - Method in class com.icegreen.greenmail.util.GreenMail
 
reset() - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
Resource - Interface in com.icegreen.greenmail.foedus.util
 
RetrCommand - Class in com.icegreen.greenmail.pop3.commands
 
RetrCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.RetrCommand
 
Retriever - Class in com.icegreen.greenmail.util
 
Retriever(AbstractServer) - Constructor for class com.icegreen.greenmail.util.Retriever
Creates a retriever object for a particular server
Example:
GreenMail greenMail = new GreenMail();
...
Retriever r = new Retriever(greenMail.getPop3())
; r.getMessages("bill@microsoft.com");
This will fetch all available messages for Billy using POP3.
RsetCommand - Class in com.icegreen.greenmail.pop3.commands
Handles the RSET command.
RsetCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.RsetCommand
 
RsetCommand - Class in com.icegreen.greenmail.smtp.commands
RSET command.
RsetCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.RsetCommand
 
run() - Method in class com.icegreen.greenmail.imap.ImapHandler
 
run() - Method in class com.icegreen.greenmail.pop3.Pop3Handler
 
run() - Method in class com.icegreen.greenmail.server.AbstractServer
 

S

search(SearchTerm) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
search(SearchTerm) - Method in interface com.icegreen.greenmail.store.MailFolder
 
SearchKey - Enum in com.icegreen.greenmail.imap.commands
SearchKey as defined in "RFC3501" section "6.4.4.
SearchTermBuilder - Class in com.icegreen.greenmail.imap.commands
Builder for search terms.
SearchTermBuilder() - Constructor for class com.icegreen.greenmail.imap.commands.SearchTermBuilder
 
SearchTermBuilder.UidSearchTerm - Class in com.icegreen.greenmail.imap.commands
 
SearchTermBuilder.UidSearchTerm(List<IdRange>) - Constructor for class com.icegreen.greenmail.imap.commands.SearchTermBuilder.UidSearchTerm
 
SEEN - Static variable in class com.icegreen.greenmail.store.MessageFlags
 
SELECTED - Static variable in class com.icegreen.greenmail.imap.ImapSessionState
 
send(String) - Method in class com.icegreen.greenmail.smtp.SmtpConnection
 
send(SmtpState) - Method in class com.icegreen.greenmail.smtp.SmtpManager
 
sendAttachmentEmail(String, String, String, String, byte[], String, String, String, ServerSetup) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
 
sendMessageBody(String, String, String, Object, String, ServerSetup) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
Send the message with the given attributes and the given body using the specified SMTP settings
sendMimeMessage(MimeMessage) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
Send the message using the JavaMail session defined in the message
sendTextEmail(String, String, String, String, ServerSetup) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
Sends a text message using given server setup for SMTP.
sendTextEmailSecureTest(String, String, String, String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
Sends a text message using the default test setup for SMTPS.
sendTextEmailTest(String, String, String, String) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
Sends a text message using the default test setup for SMTP.
ServerSetup - Class in com.icegreen.greenmail.util
Defines the default ports smtp25 smtps465 pop3110 pop3s995 imap143 imaps993 Use ServerSetupTest for non-default ports
ServerSetup(int, String, String) - Constructor for class com.icegreen.greenmail.util.ServerSetup
 
ServerSetupTest - Class in com.icegreen.greenmail.util
Defines a series of non-default ports for test purposes.
ServerSetupTest() - Constructor for class com.icegreen.greenmail.util.ServerSetupTest
 
serverSocket - Variable in class com.icegreen.greenmail.server.AbstractServer
 
Service - Interface in com.icegreen.greenmail.util
Generic lifecycle handling of a service.
setAuthenticated(GreenMailUser) - Method in interface com.icegreen.greenmail.imap.ImapSession
Moves the session into ImapSessionState.AUTHENTICATED state with the supplied user.
setAuthenticated(GreenMailUser) - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
 
setAuthRequired(boolean) - Method in class com.icegreen.greenmail.user.UserManager
 
setConnectionTimeout(long) - Method in class com.icegreen.greenmail.util.ServerSetup
 
setFlag(String, Flags) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
 
setFlag(Flags.Flag, boolean) - Method in class com.icegreen.greenmail.store.StoredMessage
 
setFlags(Flags, boolean, long, FolderListener, boolean) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
setFlags(Flags, boolean, long, FolderListener, boolean) - Method in interface com.icegreen.greenmail.store.MailFolder
 
setFlags(Flags, boolean) - Method in class com.icegreen.greenmail.store.StoredMessage
 
setHeloName(String) - Method in class com.icegreen.greenmail.smtp.SmtpConnection
 
setPassword(String) - Method in interface com.icegreen.greenmail.user.GreenMailUser
 
setPassword(String) - Method in class com.icegreen.greenmail.user.UserImpl
 
setPortOffset(int) - Static method in class com.icegreen.greenmail.util.ServerSetupTest
 
setQuota(Quota, String) - Method in class com.icegreen.greenmail.store.InMemoryStore
 
setQuota(Quota, String) - Method in interface com.icegreen.greenmail.store.Store
Sets the quota.
setQuota(GreenMailUser, Quota) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
Sets a quota for a users.
SetQuotaCommand - Class in com.icegreen.greenmail.imap.commands
Implements IMAP Quota Extension.
setQuotaSupported(boolean) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
Toggles the IMAP quota support.
setQuotaSupported(boolean) - Method in class com.icegreen.greenmail.store.InMemoryStore
 
setQuotaSupported(boolean) - Method in interface com.icegreen.greenmail.store.Store
Toggles quota capability.
setQuotaSupported(boolean) - Method in class com.icegreen.greenmail.util.GreenMail
 
setQuotaSupported(boolean) - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
setReadTimeout(long) - Method in class com.icegreen.greenmail.util.ServerSetup
 
setResponseCode(String) - Method in exception com.icegreen.greenmail.store.FolderException
 
setReturnPath(MailAddress) - Method in class com.icegreen.greenmail.mail.MovingMessage
 
setRunning(boolean) - Method in class com.icegreen.greenmail.server.AbstractServer
 
setSelectable(MailFolder, boolean) - Method in class com.icegreen.greenmail.store.InMemoryStore
 
setSelectable(MailFolder, boolean) - Method in interface com.icegreen.greenmail.store.Store
Tells the store to make the supplied mailbox selectable or not (able to store messages).
setSelected(MailFolder, boolean) - Method in interface com.icegreen.greenmail.imap.ImapSession
Moves this session into ImapSessionState.SELECTED state and sets the supplied mailbox to be the currently selected mailbox.
setSelected(MailFolder, boolean) - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
 
setServerStartupTimeout(long) - Method in class com.icegreen.greenmail.util.ServerSetup
Sets the server startup timeout in milliseconds.
setSizeChanged(boolean) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
setTag(String) - Method in class com.icegreen.greenmail.imap.ImapResponse
 
setup - Variable in class com.icegreen.greenmail.server.AbstractServer
 
setUser(String, String) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
Sets the password for the account linked to email.
setUser(String, String, String) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
Sets the password for the account linked to email.
setUser(GreenMailUser) - Method in class com.icegreen.greenmail.pop3.Pop3State
 
setUser(String, String) - Method in class com.icegreen.greenmail.util.GreenMail
 
setUser(String, String, String) - Method in class com.icegreen.greenmail.util.GreenMail
 
setUser(String, String) - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
setUser(String, String, String) - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
setUsers(Properties) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
Sets up accounts with password based on a properties map where the key is the email/login and the value the password
setUsers(Properties) - Method in class com.icegreen.greenmail.util.GreenMail
 
setUsers(Properties) - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
setWriteTimeout(long) - Method in class com.icegreen.greenmail.util.ServerSetup
 
signalDeletion() - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
signalDeletion() - Method in interface com.icegreen.greenmail.store.MailFolder
 
SimpleMessageAttributes - Class in com.icegreen.greenmail.store
Attributes of a Message in IMAP4rev1 style.
size() - Method in class com.icegreen.greenmail.store.ListBasedStoredMessageCollection
 
size() - Method in class com.icegreen.greenmail.store.MapBasedStoredMessageCollection
 
size() - Method in interface com.icegreen.greenmail.store.StoredMessageCollection
 
SMTP - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
SMTP - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
 
SMTP_IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
SMTP_IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
 
SMTP_POP3 - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
SMTP_POP3 - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
 
SMTP_POP3_IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
SMTP_POP3_IMAP - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
 
SmtpCommand - Class in com.icegreen.greenmail.smtp.commands
 
SmtpCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.SmtpCommand
 
SmtpCommandRegistry - Class in com.icegreen.greenmail.smtp.commands
 
SmtpCommandRegistry() - Constructor for class com.icegreen.greenmail.smtp.commands.SmtpCommandRegistry
 
SmtpConnection - Class in com.icegreen.greenmail.smtp
 
SmtpConnection(SmtpHandler, Socket) - Constructor for class com.icegreen.greenmail.smtp.SmtpConnection
 
SmtpManager - Class in com.icegreen.greenmail.smtp
 
SmtpManager(ImapHostManager, UserManager) - Constructor for class com.icegreen.greenmail.smtp.SmtpManager
 
SmtpManager.WaitObject - Class in com.icegreen.greenmail.smtp
This Object is used by a thread to wait until a number of emails have arrived.
SmtpManager.WaitObject(int) - Constructor for class com.icegreen.greenmail.smtp.SmtpManager.WaitObject
 
SMTPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
SMTPS - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
 
SMTPS_IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
SMTPS_IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
 
SMTPS_POP3S - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
SMTPS_POP3S - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
 
SMTPS_POP3S_IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetup
 
SMTPS_POP3S_IMAPS - Static variable in class com.icegreen.greenmail.util.ServerSetupTest
 
SmtpServer - Class in com.icegreen.greenmail.smtp
 
SmtpServer(ServerSetup, Managers) - Constructor for class com.icegreen.greenmail.smtp.SmtpServer
 
SmtpState - Class in com.icegreen.greenmail.smtp
 
SmtpState(Workspace) - Constructor for class com.icegreen.greenmail.smtp.SmtpState
 
SortKey - Enum in com.icegreen.greenmail.imap.commands
Created on 10/03/2016.
SP - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
splice(Reader, Reader) - Static method in class com.icegreen.greenmail.foedus.util.StreamUtils
 
start() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
Start the GreenMail server
start() - Method in class com.icegreen.greenmail.util.GreenMail
 
start() - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
startService() - Method in class com.icegreen.greenmail.server.AbstractServer
 
startService() - Method in interface com.icegreen.greenmail.util.Service
Starts the service in the background as a new thread.
StatCommand - Class in com.icegreen.greenmail.pop3.commands
 
StatCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.StatCommand
 
stop() - Method in interface com.icegreen.greenmail.base.GreenMailOperations
Stop the GreenMail server.
stop() - Method in class com.icegreen.greenmail.util.GreenMail
 
stop() - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
stopService(long) - Method in class com.icegreen.greenmail.server.AbstractServer
Stops the service.
stopService() - Method in class com.icegreen.greenmail.server.AbstractServer
Stops the service (without timeout).
stopService() - Method in interface com.icegreen.greenmail.util.Service
Stops the service.
stopService(long) - Method in interface com.icegreen.greenmail.util.Service
Stops the service.
STORAGE - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
store(MovingMessage) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
store(MimeMessage) - Method in class com.icegreen.greenmail.imap.ImapSessionFolder
 
store(MovingMessage) - Method in interface com.icegreen.greenmail.store.MailFolder
 
store(MimeMessage) - Method in interface com.icegreen.greenmail.store.MailFolder
 
Store - Interface in com.icegreen.greenmail.store
Represents the complete mail store for an IMAP server, providing access to and manipulation of all Mailboxes stored on this server.
StoredMessage - Class in com.icegreen.greenmail.store
A mail message with all of the extra stuff that IMAP requires.
StoredMessage.UidAwareMimeMessage - Class in com.icegreen.greenmail.store
Wraps a mime message and provides support for uid.
StoredMessage.UidAwareMimeMessage(MimeMessage, long) - Constructor for class com.icegreen.greenmail.store.StoredMessage.UidAwareMimeMessage
 
StoredMessageCollection - Interface in com.icegreen.greenmail.store
 
StreamUtils - Class in com.icegreen.greenmail.foedus.util
 
StreamUtils() - Constructor for class com.icegreen.greenmail.foedus.util.StreamUtils
 
StringBufferResource - Class in com.icegreen.greenmail.foedus.util
 
StringBufferResource() - Constructor for class com.icegreen.greenmail.foedus.util.StringBufferResource
 
StringBufferResource(String) - Constructor for class com.icegreen.greenmail.foedus.util.StringBufferResource
 
subscribe(GreenMailUser, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
Subscribes a user to a mailbox.
subscribe(GreenMailUser, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
 

T

tag(ImapRequestLineReader) - Method in class com.icegreen.greenmail.imap.commands.CommandParser
Reads a command "tag" from the request.
taggedResponse(String) - Method in class com.icegreen.greenmail.imap.ImapResponse
Writes the message provided to the client, prepended with the request tag.
test(String, String) - Method in class com.icegreen.greenmail.user.UserManager
 
TopCommand - Class in com.icegreen.greenmail.pop3.commands
 
TopCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.TopCommand
 
toStream(String, Charset) - Static method in class com.icegreen.greenmail.util.EncodingUtil
Converts the string of given content to an input stream.
toString() - Method in class com.icegreen.greenmail.configuration.UserBean
 
toString(Reader) - Static method in class com.icegreen.greenmail.foedus.util.StreamUtils
 
toString() - Method in class com.icegreen.greenmail.imap.commands.SearchTermBuilder
 
toString() - Method in class com.icegreen.greenmail.imap.ImapSessionState
 
toString() - Method in class com.icegreen.greenmail.mail.MailAddress
 
toString() - Method in class com.icegreen.greenmail.server.AbstractServer
 
toString() - Method in class com.icegreen.greenmail.user.UserImpl
 
toString(Part) - Static method in class com.icegreen.greenmail.util.GreenMailUtil
 
toString() - Method in class com.icegreen.greenmail.util.ServerSetup
 

U

UidEnabledCommand - Interface in com.icegreen.greenmail.imap.commands
 
UidlCommand - Class in com.icegreen.greenmail.pop3.commands
 
UidlCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.UidlCommand
 
uidsToRangeString(List<Long>) - Static method in class com.icegreen.greenmail.imap.commands.IdRange
 
unescapeJava(String) - Static method in class com.icegreen.greenmail.util.strings.JavaEscape
Perform a Java unescape operation on a String input.
unescapeJava(char[], int, int, Writer) - Static method in class com.icegreen.greenmail.util.strings.JavaEscape
Perform a Java unescape operation on a char[] input.
unsolicitedResponses(ImapResponse) - Method in interface com.icegreen.greenmail.imap.ImapSession
Sends any unsolicited responses to the client, such as EXISTS and FLAGS responses when the selected mailbox is modified by another user.
unsolicitedResponses(ImapResponse, boolean) - Method in interface com.icegreen.greenmail.imap.ImapSession
 
unsolicitedResponses(ImapResponse) - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
 
unsolicitedResponses(ImapResponse, boolean) - Method in class com.icegreen.greenmail.imap.ImapSessionImpl
 
unsubscribe(GreenMailUser, String) - Method in interface com.icegreen.greenmail.imap.ImapHostManager
Unsubscribes from a given mailbox.
unsubscribe(GreenMailUser, String) - Method in class com.icegreen.greenmail.imap.ImapHostManagerImpl
 
UNTAGGED - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
untaggedResponse(String) - Method in class com.icegreen.greenmail.imap.ImapResponse
Writes the message provided to the client, prepended with the untagged marker "*".
USER_NAMESPACE - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
UserBean - Class in com.icegreen.greenmail.configuration
A user to create when servers start
UserBean(String, String, String) - Constructor for class com.icegreen.greenmail.configuration.UserBean
Initialize user
UserCommand - Class in com.icegreen.greenmail.pop3.commands
 
UserCommand() - Constructor for class com.icegreen.greenmail.pop3.commands.UserCommand
 
UserException - Exception in com.icegreen.greenmail.user
 
UserException() - Constructor for exception com.icegreen.greenmail.user.UserException
 
UserException(String) - Constructor for exception com.icegreen.greenmail.user.UserException
 
UserException(String, Throwable) - Constructor for exception com.icegreen.greenmail.user.UserException
 
UserException(Throwable) - Constructor for exception com.icegreen.greenmail.user.UserException
 
UserImpl - Class in com.icegreen.greenmail.user
 
UserImpl(String, String, String, ImapHostManager) - Constructor for class com.icegreen.greenmail.user.UserImpl
 
UserManager - Class in com.icegreen.greenmail.user
 
UserManager(ImapHostManager) - Constructor for class com.icegreen.greenmail.user.UserManager
 
UserUtil - Class in com.icegreen.greenmail.util
Utility for managing users
util() - Method in class com.icegreen.greenmail.util.GreenMail
Deprecated.
As of 1.5 and to be removed in 1.6. No need to instantiate static helper class

V

validForState(ImapSessionState) - Method in interface com.icegreen.greenmail.imap.commands.ImapCommand
Specifies if this command is valid for the given session state.
valueOf(String) - Static method in enum com.icegreen.greenmail.imap.commands.SearchKey
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.icegreen.greenmail.imap.commands.SortKey
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.icegreen.greenmail.util.strings.JavaEscapeLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.icegreen.greenmail.imap.commands.SearchKey
Returns an array containing the constants of this enum type, inthe order they are declared.
values() - Static method in enum com.icegreen.greenmail.imap.commands.SortKey
Returns an array containing the constants of this enum type, inthe order they are declared.
values() - Static method in enum com.icegreen.greenmail.util.strings.JavaEscapeLevel
Returns an array containing the constants of this enum type, inthe order they are declared.
VERSION - Static variable in interface com.icegreen.greenmail.imap.ImapConstants
 
VrfyCommand - Class in com.icegreen.greenmail.smtp.commands
VRFY command.
VrfyCommand() - Constructor for class com.icegreen.greenmail.smtp.commands.VrfyCommand
 

W

waitForIncomingEmail(long, int) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
Use this method if you are sending email in a different thread from the one you're testing from.
waitForIncomingEmail(int) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
Does the same thing as #wait(long, int) but with a timeout of 5000ms
waitForIncomingEmail(long, int) - Method in class com.icegreen.greenmail.util.GreenMail
 
waitForIncomingEmail(int) - Method in class com.icegreen.greenmail.util.GreenMail
 
waitForIncomingEmail(long, int) - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
waitForIncomingEmail(int) - Method in class com.icegreen.greenmail.util.GreenMailProxy
 
waitTillRunning(long) - Method in class com.icegreen.greenmail.server.AbstractServer
 
waitTillRunning(long) - Method in interface com.icegreen.greenmail.util.Service
Waits till service is up or timeout was reached.
withConfiguration(GreenMailConfiguration) - Method in interface com.icegreen.greenmail.base.GreenMailOperations
Configure GreenMail instance using the given configuration
withConfiguration(GreenMailConfiguration) - Method in class com.icegreen.greenmail.configuration.ConfiguredGreenMail
 
withConfiguration(GreenMailConfiguration) - Method in class com.icegreen.greenmail.junit.GreenMailRule
 
withConfiguration(GreenMailConfiguration) - Method in class com.icegreen.greenmail.util.GreenMail
 
withDisabledAuthentication() - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
Disables authentication.
withUser(String, String) - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
The given GreenMailUser will be created when servers will start.
withUser(String, String, String) - Method in class com.icegreen.greenmail.configuration.GreenMailConfiguration
The given GreenMailUser will be created when servers will start.
Workspace - Interface in com.icegreen.greenmail.foedus.util
 
A B C D E F G H I J K L M N O P Q R S T U V W 

Copyright © 2006–2016 Icegreen Technologies. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14