org.apache.james.protocols.smtp.core
Class NoopCmdHandler

java.lang.Object
  extended by org.apache.james.protocols.smtp.core.NoopCmdHandler
All Implemented Interfaces:
CommandHandler<SMTPSession>, ProtocolHandler

public class NoopCmdHandler
extends Object
implements CommandHandler<SMTPSession>

Handles NOOP command


Constructor Summary
NoopCmdHandler()
           
 
Method Summary
 Collection<String> getImplCommands()
           
 Response onCommand(SMTPSession session, Request request)
          Handler method called upon receipt of a NOOP command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopCmdHandler

public NoopCmdHandler()
Method Detail

onCommand

public Response onCommand(SMTPSession session,
                          Request request)
Handler method called upon receipt of a NOOP command. Just sends back an OK and logs the command.

Specified by:
onCommand in interface CommandHandler<SMTPSession>

getImplCommands

public Collection<String> getImplCommands()
Specified by:
getImplCommands in interface CommandHandler<SMTPSession>
See Also:
CommandHandler.getImplCommands()


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.