public final class UnsupportedCommandHandler extends AbstractStaticReplyCommandHandler implements CommandHandler
Note that this is a "special" CommandHandler, in that it handles any unrecognized command, rather than an explicit FTP command.
Each invocation record stored by this CommandHandler contains no data elements.
replyCode, replyMessageKey, replyTextLOG| Constructor and Description | 
|---|
UnsupportedCommandHandler()
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
handleCommand(Command command,
             Session session,
             InvocationRecord invocationRecord)
Handle the specified command for the session. 
 | 
sendReply, sendReply, setReplyCode, setReplyMessageKey, setReplyTextclearInvocations, getInvocation, handleCommand, numberOfInvocations, sendReplyassertValidReplyCode, getReplyTextBundle, quotes, setReplyTextBundleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleCommandpublic UnsupportedCommandHandler()
public void handleCommand(Command command, Session session, InvocationRecord invocationRecord)
AbstractTrackingCommandHandlerhandleCommand in class AbstractTrackingCommandHandlercommand - - the Command to be handledsession - - the session on which the Command was submittedinvocationRecord - - the InvocationRecord; CommandHandlers are expected to add
                         handler-specific data to the InvocationRecord, as appropriateAbstractTrackingCommandHandler.handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)Copyright © 2016. All rights reserved.