org.apache.ftpserver
Class FtpRequest

java.lang.Object
  extended by org.apache.ftpserver.FtpRequest

public class FtpRequest
extends Object

Ftp command request class. We can access command, line and argument using {CMD}, {ARG} within ftp status file. This represents single Ftp request.

Author:
Rana Bhattacharyya

Constructor Summary
FtpRequest(String commandLine)
          Constructor.
 
Method Summary
 String getArgument()
          Get ftp input argument.
 String getCommand()
          Get the ftp command.
 String getCommandLine()
          Get the ftp request line.
 boolean hasArgument()
          Has argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FtpRequest

public FtpRequest(String commandLine)
Constructor.

Parameters:
commandLine - ftp input command line.
Method Detail

getCommand

public String getCommand()
Get the ftp command.


getArgument

public String getArgument()
Get ftp input argument.


getCommandLine

public String getCommandLine()
Get the ftp request line.


hasArgument

public boolean hasArgument()
Has argument.



Copyright © 2001-2012 Codehaus. All Rights Reserved.