org.apache.james.smtpserver
Class UnknownCmdHandler
java.lang.Object
org.apache.james.smtpserver.UnknownCmdHandler
- All Implemented Interfaces:
- CommandHandler
- public class UnknownCmdHandler
- extends Object
- implements CommandHandler
Default command handler for handling unknown commands
Method Summary |
void |
onCommand(SMTPSession session)
Handler method called upon receipt of an unrecognized command.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNKNOWN_COMMAND
public static final String UNKNOWN_COMMAND
- The name of the command handled by the command handler
- See Also:
- Constant Field Values
UnknownCmdHandler
public UnknownCmdHandler()
onCommand
public void onCommand(SMTPSession session)
- Handler method called upon receipt of an unrecognized command.
Returns an error response and logs the command.
- Specified by:
onCommand
in interface CommandHandler
- See Also:
CommandHandler.onCommand(SMTPSession)
"Copyright © 1999-2006 Apache Jakarta Project. All Rights Reserved."