public class GASSProtocol
extends java.lang.Object
Constructor and Description |
---|
GASSProtocol() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
GET(java.lang.String path,
java.lang.String host)
This method concatenates a properly formatted header for performing
Globus Gass GETs with the given information.
|
static java.lang.String |
PUT(java.lang.String path,
java.lang.String host,
long length,
boolean append)
This method concatenates a properly formatted header for performing
Globus Gass PUTs with the given information.
|
static java.lang.String |
SHUTDOWN(java.lang.String path,
java.lang.String host) |
public static java.lang.String GET(java.lang.String path, java.lang.String host)
path
- the path of the file to gethost
- the host which contains the file to getString
the properly formatted header to be sent to a
gass serverpublic static java.lang.String PUT(java.lang.String path, java.lang.String host, long length, boolean append)
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 modeString
the properly formatted header to be sent to a
gass serverpublic static java.lang.String SHUTDOWN(java.lang.String path, java.lang.String host)