Home | History | Annotate | Download | only in command

Lines Matching refs:command

16 package org.mockftpserver.stub.command;

18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
21 import org.mockftpserver.core.command.ReplyCodes;
25 * CommandHandler for the CWD (Change Working Directory) command. Send back a reply code of 250.
29 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the directory submitted on the invocation (the first command parameter)
47 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session)
49 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
50 invocationRecord.set(PATHNAME_KEY, command.getRequiredParameter(0));