Class GASSProtocol
java.lang.Object
org.globus.io.gass.client.internal.GASSProtocol
This is a pure Java implementation of the Globus GASS protocol. Normally
one does not need to use this class directly but instead uses the Client
class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
This method concatenates a properly formatted header for performing Globus Gass GETs with the given information.static String
This method concatenates a properly formatted header for performing Globus Gass PUTs with the given information.static String
-
Constructor Details
-
GASSProtocol
public GASSProtocol()
-
-
Method Details
-
GET
This method concatenates a properly formatted header for performing Globus Gass GETs with the given information.- Parameters:
path
- the path of the file to gethost
- the host which contains the file to get- Returns:
String
the properly formatted header to be sent to a gass server
-
PUT
This method concatenates a properly formatted header for performing Globus Gass PUTs with the given information.- Parameters:
path
- the path of the remote file to put tohost
- the host of the remote file to put tolength
- the length of data which will be sent (the size of the file)append
- append mode- Returns:
String
the properly formatted header to be sent to a gass server
-
SHUTDOWN
-