public class DefaultFtpRequest extends Object implements FtpRequest
| Constructor and Description |
|---|
DefaultFtpRequest(String requestLine)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getArgument()
Get ftp input argument.
|
String |
getCommand()
Get the ftp command.
|
long |
getReceivedTime()
Returns the timestamp (milliseconds since the epoch time) when this
request was received.
|
String |
getRequestLine()
Get the ftp request line.
|
boolean |
hasArgument()
Has argument.
|
String |
toString() |
public DefaultFtpRequest(String requestLine)
public String getCommand()
getCommand in interface FtpRequestpublic String getArgument()
getArgument in interface FtpRequestpublic String getRequestLine()
getRequestLine in interface FtpRequestpublic boolean hasArgument()
hasArgument in interface FtpRequestpublic long getReceivedTime()
FtpRequestgetReceivedTime in interface FtpRequestCopyright © 2003–2025 The Apache Software Foundation. All rights reserved.