public class RetrCommandHandler extends AbstractFakeCommandHandler
INTERNAL_ERROR_KEY, replyCodeForFileSystemException
LOG
Constructor and Description |
---|
RetrCommandHandler() |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
convertLfToCrLf(byte[] bytes)
Within the specified byte array, replace all LF (\n) that are NOT preceded by a CR (\r) into CRLF (\r\n).
|
protected void |
handle(Command command,
Session session)
Handle the specified command for the session.
|
defaultIfNullOrEmpty, endOfLine, getFileSystem, getRealPath, getRequiredSessionAttribute, getServerConfiguration, getUserAccount, handleCommand, list, list, login, notNullOrEmpty, sendReply, sendReply, sendReply, sendReply, setServerConfiguration, validateUserAccount, verifyExecutePermission, verifyFileSystemCondition, verifyLoggedIn, verifyReadPermission, verifyWritePermission
assertValidReplyCode, getReplyTextBundle, quotes, setReplyTextBundle
protected void handle(Command command, Session session)
AbstractFakeCommandHandler
handle
in class AbstractFakeCommandHandler
command
- - the Command to be handledsession
- - the session on which the Command was submittedprotected byte[] convertLfToCrLf(byte[] bytes)
bytes
- - the bytes to be convertedCopyright © 2016. All rights reserved.