Class ImapRequestHandler


  • public final class ImapRequestHandler
    extends java.lang.Object
    Version:
    $Revision: 109034 $
    Author:
    Darrell DeBoer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean handleRequest​(java.io.InputStream input, java.io.OutputStream output, ImapSession session)
      This method parses POP3 commands read off the wire in handleConnection.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImapRequestHandler

        public ImapRequestHandler()
    • Method Detail

      • handleRequest

        public boolean handleRequest​(java.io.InputStream input,
                                     java.io.OutputStream output,
                                     ImapSession session)
                              throws ProtocolException
        This method parses POP3 commands read off the wire in handleConnection. Actual processing of the command (possibly including additional back and forth communication with the client) is delegated to one of a number of command specific handler methods. The primary purpose of this method is to parse the raw command string to determine exactly which handler should be called. It returns true if expecting additional commands, false otherwise.
        Returns:
        whether additional commands are expected.
        Throws:
        ProtocolException