org.apache.ftpserver.ftplet
Interface FtpRequest

All Known Implementing Classes:
DefaultFtpRequest

public interface FtpRequest

One FtpRequest made by the client.

Author:
Apache MINA Project

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

Method Detail

getRequestLine

String getRequestLine()
Get the client request string.

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

getCommand

String getCommand()
Returns the ftp request command.

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

getArgument

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.