org.mockftpserver.stub.command
Class AbstractStubCommandHandler

java.lang.Object
  extended by org.mockftpserver.core.command.AbstractCommandHandler
      extended by org.mockftpserver.core.command.AbstractTrackingCommandHandler
          extended by org.mockftpserver.core.command.AbstractStaticReplyCommandHandler
              extended by org.mockftpserver.stub.command.AbstractStubCommandHandler
All Implemented Interfaces:
CommandHandler, InvocationHistory, ReplyTextBundleAware
Direct Known Subclasses:
AborCommandHandler, AcctCommandHandler, AlloCommandHandler, CdupCommandHandler, CwdCommandHandler, DeleCommandHandler, EprtCommandHandler, EpsvCommandHandler, HelpCommandHandler, MkdCommandHandler, ModeCommandHandler, NoopCommandHandler, PassCommandHandler, PasvCommandHandler, PortCommandHandler, PwdCommandHandler, QuitCommandHandler, ReinCommandHandler, RestCommandHandler, RmdCommandHandler, RnfrCommandHandler, RntoCommandHandler, SiteCommandHandler, SmntCommandHandler, StatCommandHandler, StruCommandHandler, SystCommandHandler, TypeCommandHandler, UserCommandHandler

public abstract class AbstractStubCommandHandler
extends AbstractStaticReplyCommandHandler

The abstract superclass for CommandHandler classes for the StubFtpServer.

Subclasses can optionally override the reply code and/or text for the reply by calling AbstractStaticReplyCommandHandler.setReplyCode(int), AbstractStaticReplyCommandHandler.setReplyMessageKey(String) and AbstractStaticReplyCommandHandler.setReplyText(String).

Version:
$Revision: 193 $ - $Date: 2008-12-07 08:07:10 -0500 (Sun, 07 Dec 2008) $
Author:
Chris Mair

Field Summary
 
Fields inherited from class org.mockftpserver.core.command.AbstractStaticReplyCommandHandler
replyCode, replyMessageKey, replyText
 
Fields inherited from class org.mockftpserver.core.command.AbstractCommandHandler
LOG
 
Constructor Summary
AbstractStubCommandHandler()
           
 
Method Summary
 
Methods inherited from class org.mockftpserver.core.command.AbstractStaticReplyCommandHandler
sendReply, sendReply, setReplyCode, setReplyMessageKey, setReplyText
 
Methods inherited from class org.mockftpserver.core.command.AbstractTrackingCommandHandler
clearInvocations, getInvocation, handleCommand, handleCommand, numberOfInvocations, sendReply
 
Methods inherited from class org.mockftpserver.core.command.AbstractCommandHandler
assertValidReplyCode, getReplyTextBundle, quotes, setReplyTextBundle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractStubCommandHandler

public AbstractStubCommandHandler()


Copyright © 2014. All rights reserved.