/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
CdupCommandHandler.java | 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 CDUP (Change To Parent Directory) command. Send back a reply code of 250.
41 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
|
CwdCommandHandler.java | 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) [all...] |
DeleCommandHandler.java | 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 DELE (Delete) command. Send back a reply code of 250.
29 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the file name 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) [all...] |
MkdCommandHandler.java | 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 MKD (Make Directory) command. Send back a reply code of 257.
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) [all...] |
ModeCommandHandler.java | 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 MODE command. Send back a reply code of 200.
29 * <li>{@link #MODE_KEY} ("mode") - the code for the transmission mode 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) [all...] |
NoopCommandHandler.java | 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 NOOP command. Return a reply code of 200.
41 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
|
PassCommandHandler.java | 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 PASS (Password) command. Send back a reply code of 230.
29 * <li>"password" - the password 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) [all...] |
PwdCommandHandler.java | 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;
45 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
50 * Set the directory String to be returned by this command
|
QuitCommandHandler.java | 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 QUIT command. Return a reply code of 221.
41 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
|
ReinCommandHandler.java | 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;
26 * CommandHandler for the REIN (Reinitialize) command. Send back a reply code of 220.
42 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
|
RestCommandHandler.java | 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 REST (Restart of interrupted transfer) command. Send back a reply code of 350.
29 * <li>{@link #MARKER_KEY} ("marker") - the server marker 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) [all...] |
RmdCommandHandler.java | 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 RMD (Remove 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) [all...] |
RnfrCommandHandler.java | 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 RNFR (Rename From) command. Send back a reply code of 350.
29 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the file 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) [all...] |
RntoCommandHandler.java | 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 RNTO (Rename To) command. Send back a reply code of 250.
29 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the file 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) [all...] |
SiteCommandHandler.java | 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 SITE (Site Parameters) command. Send back a reply code of 200.
29 * <li>{@link #PARAMETERS_KEY} ("parameters") - the site parameters 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) [all...] |
SmntCommandHandler.java | 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 SMNT (Structure Mount) 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) [all...] |
StruCommandHandler.java | 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 STRU (File Structure) command. Send back a reply code of 200.
29 * <li>{@link #FILE_STRUCTURE_KEY} ("fileStructure") - the file structure code 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) [all...] |
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
ConnectCommandHandlerTest.java | 16 package org.mockftpserver.core.command;
27 private Command command1;
45 command1 = new Command(CommandNames.CONNECT, EMPTY);
|
UnsupportedCommandHandlerTest.java | 16 package org.mockftpserver.core.command;
27 private Command command1;
45 command1 = new Command("XXXX", EMPTY);
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
AborCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.*;
19 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
36 final Command COMMAND = new Command(CommandNames.ABOR, EMPTY);
41 commandHandler.handleCommand(COMMAND, session);
51 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp()
|
QuitCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.*;
19 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
36 final Command COMMAND = new Command(CommandNames.QUIT, EMPTY);
42 commandHandler.handleCommand(COMMAND, session);
52 * @see org.mockftpserver.core.command.AbstractCommandHandlerTestCase#setUp()
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
AborCommandHandler.java | 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 ABOR command. Return a reply code of 226.
43 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
45 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) { [all...] |
AcctCommandHandler.java | 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 ACCT command. Send back a reply code of 230.
29 * <li>"acount" - the account submitted on the invocation (the first command parameter)
48 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord) [all...] |
CdupCommandHandler.java | 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 CDUP (Change To Parent Directory) command. Send back a reply code of 250.
43 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
45 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) { [all...] |
ConnectCommandHandler.java | 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;
30 * connection from the client, rather than an explicit FTP command.
48 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(Command, Session, InvocationRecord)
50 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) { [all...] |