| org.apache.james.pop3server.POP3Handler
POP3Handler | public class POP3Handler extends AbstractLogEnabled implements ConnectionHandler,Poolable(Code) | | The handler class for POP3 connections.
|
getWatchdogTarget | WatchdogTarget getWatchdogTarget()(Code) | | Gets the Watchdog Target that should be used by Watchdogs managing
this connection.
the WatchdogTarget |
handleConnection | public void handleConnection(Socket connection) throws IOException(Code) | | See Also: org.apache.avalon.cornerstone.services.connection.ConnectionHandler.handleConnection(Socket) |
idleClose | void idleClose()(Code) | | Idle out this connection
|
readCommandLine | final String readCommandLine() throws IOException(Code) | | Reads a line of characters off the command line.
the trimmed input line throws: IOException - if an exception is generated reading in the input characters |
setConfigurationData | void setConfigurationData(POP3HandlerConfigurationData theData)(Code) | | Set the configuration data for the handler.
Parameters: theData - the configuration data |
setWatchdog | void setWatchdog(Watchdog theWatchdog)(Code) | | Set the Watchdog for use by this handler.
Parameters: theWatchdog - the watchdog |
writeLoggedFlushedResponse | final void writeLoggedFlushedResponse(String responseString)(Code) | | Write and flush a response string. The response is also logged.
Should be used for the last line of a multi-line response or
for a single line response.
Parameters: responseString - the response string sent to the client |
writeLoggedResponse | final void writeLoggedResponse(String responseString)(Code) | | Write a response string. The response is also logged.
Used for multi-line responses.
Parameters: responseString - the response string sent to the client |
writeMessageContentTo | public void writeMessageContentTo(MimeMessage message, OutputStream out, int lines) throws IOException, MessagingException(Code) | | Writes the content of the message, up to a total number of lines, out to
an OutputStream.
Parameters: out - the OutputStream to which to write the content Parameters: lines - the number of lines to write to the stream throws: MessagingException - if the MimeMessage is not set for this MailImpl throws: IOException - if an error occurs while reading or writing from the stream |
|
|