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;
24 * CommandHandler for the LIST command. Return the configured directory listing on the data
29 * The interpretation of the value returned from this command is dependent upon the value returned
30 * by the SYST command. The format of the directory listing should match the format associated with
31 * the system named by the SYST command. For example, if the SYST command returns "WINDOWS", then
32 * the directory listing value from this command should match the Windows-specific format. See the
33 * <code>SystCommandHandler</code> to control the value returned for the SYST command.
54 * invocation (the first command parameter); this parameter is optional, so the value may be null.
68 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#beforeProcessData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
70 protected void beforeProcessData(Command command, Session session, InvocationRecord invocationRecord) throws Exception {
71 invocationRecord.set(PATHNAME_KEY, command.getOptionalString(0));
75 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#processData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
77 protected void processData(Command command, Session session, InvocationRecord invocationRecord) {
82 * Set the contents of the directoryListing to send back on the data connection for this command.