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 FtpRequest
public String getArgument()
getArgument
in interface FtpRequest
public String getRequestLine()
getRequestLine
in interface FtpRequest
public boolean hasArgument()
hasArgument
in interface FtpRequest
public long getReceivedTime()
FtpRequest
getReceivedTime
in interface FtpRequest
Copyright © 2003–2024 The Apache Software Foundation. All rights reserved.