Interface FtpRequest


public interface FtpRequest
One FtpRequest made by the client.
Author:
Apache MINA Project
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the ftp request argument.
    Returns the ftp request command.
    long
    Returns the timestamp (milliseconds since the epoch time) when this request was received.
    Get the client request string.
    boolean
    Check if request contains an argument
  • Method Details

    • 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
    • getReceivedTime

      long getReceivedTime()
      Returns the timestamp (milliseconds since the epoch time) when this request was received.
      Returns:
      the timestamp (milliseconds since the epoch time) when this request was received.