org.nees.data.strategies
Class BasicHandler

java.lang.Object
  extended byorg.nees.data.strategies.ProtocolHandler
      extended byorg.nees.data.strategies.BasicHandler
Direct Known Subclasses:
GridFTPHandler

public class BasicHandler
extends ProtocolHandler

An extension of the protocol handler for the most basic of transfers.

Lifecycle

Server only

Usage

See Also:
ProtocolHandler, FileTransferStrategy

Constructor Summary
BasicHandler(FileTransferStrategy fts)
           
 
Method Summary
 java.net.URI[] createDownloadURI(DownloadRequestRecord drr)
          This method creates the download uris.
 java.net.URI[] createUploadURI(UploadRequestRecord urr)
          This method creates the upload uris.
 
Methods inherited from class org.nees.data.strategies.ProtocolHandler
getFileTransferStrategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicHandler

public BasicHandler(FileTransferStrategy fts)
Method Detail

createDownloadURI

public java.net.URI[] createDownloadURI(DownloadRequestRecord drr)
                                 throws NFMSException
Description copied from class: ProtocolHandler
This method creates the download uris.

Specified by:
createDownloadURI in class ProtocolHandler
Parameters:
drr - the record of this request.
Returns:
TransferRequestReturnObject
Throws:
NFMSException

createUploadURI

public java.net.URI[] createUploadURI(UploadRequestRecord urr)
                               throws NFMSException
Description copied from class: ProtocolHandler
This method creates the upload uris.

Specified by:
createUploadURI in class ProtocolHandler
Returns:
TransferRequestReturnObject
Throws:
NFMSException