org.apache.ftpserver.command.impl
Class REST

java.lang.Object
  extended by org.apache.ftpserver.command.AbstractCommand
      extended by org.apache.ftpserver.command.impl.REST
All Implemented Interfaces:
Command

public class REST
extends AbstractCommand

Internal class, do not use directly. REST <SP> <CRLF>
The argument field represents the server marker at which file transfer is to be restarted. This command does not cause file transfer but skips over the file to the specified data checkpoint. This command shall be immediately followed by the appropriate FTP service command which shall cause file transfer to resume.

Author:
Apache MINA Project

Constructor Summary
REST()
           
 
Method Summary
 void execute(FtpIoSession session, FtpServerContext context, FtpRequest request)
          Execute command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

REST

public REST()
Method Detail

execute

public void execute(FtpIoSession session,
                    FtpServerContext context,
                    FtpRequest request)
             throws IOException
Execute command

Parameters:
session - The current FtpIoSession
context - The current FtpServerContext
request - The current FtpRequest
Throws:
IOException


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.