nl.uva.vlet.vrs.http
Class HTTPRS

java.lang.Object
  extended by nl.uva.vlet.vrs.VRS
      extended by nl.uva.vlet.vrs.http.HTTPRS

public class HTTPRS
extends VRS


Field Summary
 
Fields inherited from class nl.uva.vlet.vrs.VRS
ATTR_AUTH_SCHEME, ATTR_HOSTNAME, ATTR_ID, ATTR_PASSPHRASE, ATTR_PASSWORD, ATTR_PORT, ATTR_SCHEME, ATTR_USERNAME, DEFAULT_GRIDFTP_PORT, DEFAULT_SSH_PORT, DIR_TYPE, FILE_SCHEME, FILE_TYPE, GFTP_SCHEME, HTTP_SCHEME, HTTPS_SCHEME, LINK_TYPE, LOCALHOST, MAX_CONTENTS_SIZE, MYVLE_SCHEME, MYVLE_TYPE, RFTS_JOB_TYPE, RFTS_SCHEME, RFTS_SERVER_TYPE, RFTS_TRANSFER_TYPE, SERVER_TYPE, SFTP_SCHEME, SRB_SCHEME, VLINK_EXTENSION
 
Constructor Summary
HTTPRS()
           
 
Method Summary
 void clear()
          Instead of a dispose() method, a VRS has a clear() method, where it cleans up all cached objects/servers.
 java.lang.String getName()
          Returns name of service, for example GridFTP
 java.lang.String[] getResourceTypes()
          Returns list of Resources or Child types.
 java.lang.String[] getSchemeNames()
          Returns list of service types it support.This is the protocol part in an URI.
 VNode openLocation(VRSContext context, VRL location)
          Returns handler object (VNode) specified by the VRL (URI)
 
Methods inherited from class nl.uva.vlet.vrs.VRS
checkUpdateServerInfo, getDefaultServerAttributes, openLocation, performAction, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTTPRS

public HTTPRS()
Method Detail

openLocation

public VNode openLocation(VRSContext context,
                          VRL location)
                   throws VlException
Description copied from class: VRS
Returns handler object (VNode) specified by the VRL (URI)

Specified by:
openLocation in class VRS
Throws:
VlException

getName

public java.lang.String getName()
Description copied from class: VRS
Returns name of service, for example GridFTP

Specified by:
getName in class VRS

getSchemeNames

public java.lang.String[] getSchemeNames()
Description copied from class: VRS
Returns list of service types it support.This is the protocol part in an URI. For example 'localfs' or 'file' for localfs:/// or 'srb' for srb:///

Specified by:
getSchemeNames in class VRS

getResourceTypes

public java.lang.String[] getResourceTypes()
Description copied from class: VRS
Returns list of Resources or Child types. For example "File" or "Dir". No Abstract type may be retuned here like VFile or VDir.

Specified by:
getResourceTypes in class VRS

clear

public void clear()
Description copied from class: VRS
Instead of a dispose() method, a VRS has a clear() method, where it cleans up all cached objects/servers. This method can be used before a dispose, but also can be used to clean up memory and/or reset server connections completely. Expect to reconnect again after this method has been invoked.

Specified by:
clear in class VRS