org.mockftpserver.fake.command
Class EprtCommandHandler
java.lang.Object
org.mockftpserver.core.command.AbstractCommandHandler
org.mockftpserver.fake.command.AbstractFakeCommandHandler
org.mockftpserver.fake.command.EprtCommandHandler
- All Implemented Interfaces:
- CommandHandler, ReplyTextBundleAware, ServerConfigurationAware
public class EprtCommandHandler
- extends AbstractFakeCommandHandler
CommandHandler for the EPRT command. Handler logic:
- Parse the client network address (InetAddress) and port number from the (single)
parameter string of the form: "EPRT".
The client network address can be in IPv4 format (e.g., "132.235.1.2") or
IPv6 format (e.g., "1080::8:800:200C:417A")
- Send back a reply of 200
See RFC2428 for more information.
- Version:
- $Revision: 230 $ - $Date: 2009-06-13 07:44:57 -0400 (Sat, 13 Jun 2009) $
- Author:
- Chris Mair
|
Method Summary |
protected void |
handle(Command command,
Session session)
Handle the specified command for the session. |
| Methods inherited from class org.mockftpserver.fake.command.AbstractFakeCommandHandler |
defaultIfNullOrEmpty, endOfLine, getFileSystem, getRealPath, getRequiredSessionAttribute, getServerConfiguration, getUserAccount, handleCommand, list, list, login, notNullOrEmpty, sendReply, sendReply, sendReply, sendReply, setServerConfiguration, validateUserAccount, verifyExecutePermission, verifyFileSystemCondition, verifyLoggedIn, verifyReadPermission, verifyWritePermission |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EprtCommandHandler
public EprtCommandHandler()
handle
protected void handle(Command command,
Session session)
- Description copied from class:
AbstractFakeCommandHandler
- Handle the specified command for the session. All checked exceptions are expected to be wrapped or handled
by the caller.
- Specified by:
handle in class AbstractFakeCommandHandler
- Parameters:
command - - the Command to be handledsession - - the session on which the Command was submitted
Copyright © 2014. All rights reserved.