org.apache.ftpserver.impl
Class DefaultFtpRequest

java.lang.Object
  extended by org.apache.ftpserver.impl.DefaultFtpRequest
All Implemented Interfaces:
FtpRequest

public class DefaultFtpRequest
extends java.lang.Object
implements FtpRequest

Internal class, do not use directly. FTP request object.

Author:
Apache MINA Project

Constructor Summary
DefaultFtpRequest(java.lang.String requestLine)
          Default constructor.
 
Method Summary
 java.lang.String getArgument()
          Get ftp input argument.
 java.lang.String getCommand()
          Get the ftp command.
 java.lang.String getRequestLine()
          Get the ftp request line.
 boolean hasArgument()
          Has argument.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultFtpRequest

public DefaultFtpRequest(java.lang.String requestLine)
Default constructor.

Method Detail

getCommand

public java.lang.String getCommand()
Get the ftp command.

Specified by:
getCommand in interface FtpRequest

getArgument

public java.lang.String getArgument()
Get ftp input argument.

Specified by:
getArgument in interface FtpRequest

getRequestLine

public java.lang.String getRequestLine()
Get the ftp request line.

Specified by:
getRequestLine in interface FtpRequest

hasArgument

public boolean hasArgument()
Has argument.

Specified by:
hasArgument in interface FtpRequest

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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