public abstract class AbstractStorCommandHandler extends AbstractStubDataCommandHandler
Each invocation record stored by this CommandHandler includes the following data element key/values:
FILE_CONTENTS_KEY ("fileContents") - the file contents (byte[]) sent on the data connection
| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_CONTENTS_KEY |
static String |
PATHNAME_KEY |
finalReplyCode, finalReplyMessageKey, finalReplyText, preliminaryReplyCode, preliminaryReplyMessageKey, preliminaryReplyTextLOG| Constructor and Description |
|---|
AbstractStorCommandHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
processData(Command command,
Session session,
InvocationRecord invocationRecord)
Abstract method placeholder for subclass transfer of data across the data connection.
|
afterProcessData, beforeProcessData, handleCommand, sendFinalReply, setFinalReplyCode, setFinalReplyMessageKey, setFinalReplyText, setPreliminaryReplyCode, setPreliminaryReplyMessageKey, setPreliminaryReplyTextclearInvocations, getInvocation, handleCommand, numberOfInvocations, sendReplyassertValidReplyCode, getReplyTextBundle, quotes, setReplyTextBundleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleCommandpublic static final String PATHNAME_KEY
public static final String FILE_CONTENTS_KEY
protected void processData(Command command, Session session, InvocationRecord invocationRecord)
AbstractStubDataCommandHandlerprocessData in class AbstractStubDataCommandHandlercommand - - 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 appropriateAbstractStubDataCommandHandler.processData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)Copyright © 2016. All rights reserved.