org.apache.ftpserver
Class FtpRequest

java.lang.Object
  extended byorg.apache.ftpserver.FtpRequest

public class FtpRequest
extends java.lang.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(java.lang.String commandLine)
          Constructor.
 
Method Summary
 java.lang.String getArgument()
          Get ftp input argument.
 java.lang.String getCommand()
          Get the ftp command.
 java.lang.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(java.lang.String commandLine)
Constructor.

Parameters:
commandLine - ftp input command line.
Method Detail

getCommand

public java.lang.String getCommand()
Get the ftp command.


getArgument

public java.lang.String getArgument()
Get ftp input argument.


getCommandLine

public java.lang.String getCommandLine()
Get the ftp request line.


hasArgument

public boolean hasArgument()
Has argument.



Copyright © 2001-2007 Codehaus. All Rights Reserved.