Methods Summary |
---|
public void | abortMessage()this makes the message to be dropped inprotocol
|
public java.lang.String | clearResponseBuffer()Clears the response buffer, returning the String of characters in the buffer.
|
public void | endSession()this makes the session to close
|
public java.lang.String | getCommandArgument()Returns currently process command argument
|
public java.lang.String | getCommandName()Returns currently process command name
|
public SMTPHandlerConfigurationData | getConfigurationData()Returns SMTPHandler service wide configuration
|
public java.io.InputStream | getInputStream()Returns Inputstream for handling messages and commands
|
public org.apache.mailet.Mail | getMail()Returns Mail object for message handlers to process
|
public java.lang.String | getRemoteHost()Returns host name of the client
|
public java.lang.String | getRemoteIPAddress()Returns host ip address of the client
|
public java.lang.StringBuffer | getResponseBuffer()Returns ResponseBuffer, this optimizes the unecessary creation of resources
by each handler object
|
public java.lang.String | getSessionID()Returns the SMTP session id
|
public java.util.HashMap | getState()Returns Map that consists of the state of the SMTPSession
|
public java.lang.String | getUser()Returns the user name associated with this SMTP interaction.
|
public org.apache.james.util.watchdog.Watchdog | getWatchdog()Returns Watchdog object used for handling timeout
|
public boolean | isAuthRequired()Returns whether Authentication is required or not
|
public boolean | isBlockListed()Returns the blocklisted status
|
public boolean | isRelayingAllowed()Returns whether Relaying is allowed or not
|
public boolean | isSessionEnded()Returns the session status
|
public java.lang.String | readCommandLine()Reads a line of characters off the command line.
|
public void | resetState()Resets message-specific, but not authenticated user, state.
|
public void | setBlockListed(boolean blocklisted)Sets the blocklisted value
|
public void | setMail(org.apache.mailet.Mail mail)Sets the MailImpl object for further processing
|
public void | setUser(java.lang.String user)Sets the user name associated with this SMTP interaction.
|
public boolean | useHeloEhloEnforcement()Returns whether remote server needs to send HELO/EHLO
|
public void | writeResponse(java.lang.String respString)Writes response string to the client
|