org.apache.ftpserver.ftplet
Interface FtpRequest

All Known Implementing Classes:
DefaultFtpRequest

public interface FtpRequest

One FtpRequest made by the client.

Version:
$Rev: 711368 $, $Date: 2008-11-04 21:02:43 +0100 (Tue, 04 Nov 2008) $
Author:
The Apache MINA Project (dev@mina.apache.org)

Method Summary
 java.lang.String getArgument()
          Get the ftp request argument.
 java.lang.String getCommand()
          Returns the ftp request command.
 java.lang.String getRequestLine()
          Get the client request string.
 boolean hasArgument()
          Check if request contains an argument
 

Method Detail

getRequestLine

java.lang.String getRequestLine()
Get the client request string.

Returns:
The full request line, e.g. "MKDIR newdir"

getCommand

java.lang.String getCommand()
Returns the ftp request command.

Returns:
The command part of the request line, e.g. "MKDIR"

getArgument

java.lang.String getArgument()
Get the ftp request argument.

Returns:
The argument part of the request line, e.g. "newdir"

hasArgument

boolean hasArgument()
Check if request contains an argument

Returns:
true if an argument is available


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