B C D E G H I M N Q R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- BLANK_LINE - Static variable in class com.dumbster.smtp.SmtpActionType
-
Header/body separator action.
C
- com.dumbster.smtp - package com.dumbster.smtp
- CONNECT - Static variable in class com.dumbster.smtp.SmtpActionType
-
CONNECT action.
- CONNECT - Static variable in class com.dumbster.smtp.SmtpState
-
CONNECT state: waiting for a client connection.
- createRequest(String, SmtpState) - Static method in class com.dumbster.smtp.SmtpRequest
-
Create an SMTP request object given a line of the input stream from the client and the current internal state.
D
- DATA - Static variable in class com.dumbster.smtp.SmtpActionType
-
DATA action.
- DATA_BODY - Static variable in class com.dumbster.smtp.SmtpState
-
Processing body text.
- DATA_END - Static variable in class com.dumbster.smtp.SmtpActionType
-
"." action.
- DATA_HDR - Static variable in class com.dumbster.smtp.SmtpState
-
Waiting for headers.
- DEFAULT_SMTP_PORT - Static variable in class com.dumbster.smtp.SimpleSmtpServer
-
Default SMTP port is 25.
E
- EHLO - Static variable in class com.dumbster.smtp.SmtpActionType
-
EHLO action.
- execute() - Method in class com.dumbster.smtp.SmtpRequest
-
Execute the SMTP request returning a response.
- EXPN - Static variable in class com.dumbster.smtp.SmtpActionType
-
Stateless EXPN action.
G
- getBody() - Method in class com.dumbster.smtp.SmtpMessage
-
Get the message body.
- getCode() - Method in class com.dumbster.smtp.SmtpResponse
-
Get the response code.
- getHeaderNames() - Method in class com.dumbster.smtp.SmtpMessage
-
Get an Iterator over the header names.
- getHeaderValue(String) - Method in class com.dumbster.smtp.SmtpMessage
-
Get the first values associated with a given header name.
- getHeaderValues(String) - Method in class com.dumbster.smtp.SmtpMessage
-
Get the value(s) associated with the given header name.
- getMessage() - Method in class com.dumbster.smtp.SmtpResponse
-
Get the response message.
- getNextState() - Method in class com.dumbster.smtp.SmtpResponse
-
Get the next SMTP server state.
- getParams() - Method in class com.dumbster.smtp.SmtpRequest
-
Get the parameters of this request (remainder of command line once the command is removed.
- getReceivedEmail() - Method in class com.dumbster.smtp.SimpleSmtpServer
-
Get email received by this instance since start up.
- getReceivedEmailSize() - Method in class com.dumbster.smtp.SimpleSmtpServer
-
Get the number of messages received.
- GREET - Static variable in class com.dumbster.smtp.SmtpState
-
GREET state: wating for a ELHO message.
H
- HELP - Static variable in class com.dumbster.smtp.SmtpActionType
-
Stateless HELP action.
I
- isStateless() - Method in class com.dumbster.smtp.SmtpActionType
-
Indicates whether the action is stateless or not.
- isStopped() - Method in class com.dumbster.smtp.SimpleSmtpServer
-
Check if the server has been placed in a stopped state.
M
- MAIL - Static variable in class com.dumbster.smtp.SmtpActionType
-
MAIL action.
- MAIL - Static variable in class com.dumbster.smtp.SmtpState
-
MAIL state: waiting for the MAIL FROM: command.
N
- NOOP - Static variable in class com.dumbster.smtp.SmtpActionType
-
Stateless NOOP action.
Q
- QUIT - Static variable in class com.dumbster.smtp.SmtpActionType
-
QUIT action.
- QUIT - Static variable in class com.dumbster.smtp.SmtpState
-
End of client transmission.
R
- RCPT - Static variable in class com.dumbster.smtp.SmtpActionType
-
RCPT action.
- RCPT - Static variable in class com.dumbster.smtp.SmtpState
-
RCPT state: waiting for a RCPT <email address> command.
- RSET - Static variable in class com.dumbster.smtp.SmtpActionType
-
Stateless RSET action.
- run() - Method in class com.dumbster.smtp.SimpleSmtpServer
-
Main loop of the SMTP server.
S
- SimpleSmtpServer - Class in com.dumbster.smtp
-
Dummy SMTP server for testing purposes.
- SimpleSmtpServer(int) - Constructor for class com.dumbster.smtp.SimpleSmtpServer
-
Constructor.
- SmtpActionType - Class in com.dumbster.smtp
-
Represents an SMTP action or command.
- SmtpMessage - Class in com.dumbster.smtp
-
Container for a complete SMTP message - headers and message body.
- SmtpMessage() - Constructor for class com.dumbster.smtp.SmtpMessage
-
Constructor.
- SmtpRequest - Class in com.dumbster.smtp
-
Contains an SMTP client request.
- SmtpRequest(SmtpActionType, String, SmtpState) - Constructor for class com.dumbster.smtp.SmtpRequest
-
Create a new SMTP client request.
- SmtpResponse - Class in com.dumbster.smtp
-
SMTP response container.
- SmtpResponse(int, String, SmtpState) - Constructor for class com.dumbster.smtp.SmtpResponse
-
Constructor.
- SmtpState - Class in com.dumbster.smtp
-
SMTP server state.
- start() - Static method in class com.dumbster.smtp.SimpleSmtpServer
-
Creates an instance of SimpleSmtpServer and starts it.
- start(int) - Static method in class com.dumbster.smtp.SimpleSmtpServer
-
Creates an instance of SimpleSmtpServer and starts it.
- stop() - Method in class com.dumbster.smtp.SimpleSmtpServer
-
Stops the server.
- store(SmtpResponse, String) - Method in class com.dumbster.smtp.SmtpMessage
-
Update the headers or body depending on the SmtpResponse object and line of input.
T
- toString() - Method in class com.dumbster.smtp.SmtpActionType
-
String representation of this SMTP action type.
- toString() - Method in class com.dumbster.smtp.SmtpMessage
-
String representation of the SmtpMessage.
- toString() - Method in class com.dumbster.smtp.SmtpState
-
String representation of this SmtpState.
U
- UNRECOG - Static variable in class com.dumbster.smtp.SmtpActionType
-
Body text action.
V
- VRFY - Static variable in class com.dumbster.smtp.SmtpActionType
-
Stateless VRFY action.
All Classes All Packages