Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
C
D
E
G
H
I
M
N
Q
R
S
T
U
V
B
BLANK_LINE
- Static variable in class com.dumbster.smtp.
SmtpActionType
Header/body separator action.
C
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.
com.dumbster.smtp
- package com.dumbster.smtp
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.
EXPN
- Static variable in class com.dumbster.smtp.
SmtpActionType
Stateless EXPN action.
execute()
- Method in class com.dumbster.smtp.
SmtpRequest
Execute the SMTP request returning a response.
G
GREET
- Static variable in class com.dumbster.smtp.
SmtpState
GREET state: wating for a ELHO message.
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.
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 com.dumbster.smtp.
SimpleSmtpServer
.
Dummy SMTP server for testing purposes.
SimpleSmtpServer(int)
- Constructor for class com.dumbster.smtp.
SimpleSmtpServer
Constructor.
SmtpActionType
- class com.dumbster.smtp.
SmtpActionType
.
Represents an SMTP action or command.
SmtpMessage
- class com.dumbster.smtp.
SmtpMessage
.
Container for a complete SMTP message - headers and message body.
SmtpMessage()
- Constructor for class com.dumbster.smtp.
SmtpMessage
Constructor.
SmtpRequest
- class com.dumbster.smtp.
SmtpRequest
.
Contains an SMTP client request.
SmtpRequest(SmtpActionType, String, SmtpState)
- Constructor for class com.dumbster.smtp.
SmtpRequest
Create a new SMTP client request.
SmtpResponse
- class com.dumbster.smtp.
SmtpResponse
.
SMTP response container.
SmtpResponse(int, String, SmtpState)
- Constructor for class com.dumbster.smtp.
SmtpResponse
Constructor.
SmtpState
- class com.dumbster.smtp.
SmtpState
.
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.
B
C
D
E
G
H
I
M
N
Q
R
S
T
U
V
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes