Home | History | Annotate | Download | only in command

Lines Matching refs:command

16 package org.mockftpserver.stub.command;

24 import org.mockftpserver.core.command.Command;
25 import org.mockftpserver.core.command.CommandHandler;
26 import org.mockftpserver.core.command.InvocationRecord;
32 * CommandHandler for the RETR command. Returns the contents of the specified file on the
37 * be returned from this command. The file path is relative to the CLASSPATH (using the
45 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the file submitted on the invocation (the first command parameter)
76 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#beforeProcessData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
78 protected void beforeProcessData(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
80 invocationRecord.set(PATHNAME_KEY, command.getRequiredString(0));
84 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#processData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
86 protected void processData(Command command, Session session, InvocationRecord invocationRecord) {
103 * Set the path of the file whose contents should be returned when this command is