Closeable, AutoCloseablepublic class GassInputStream extends HTTPInputStream
input, size, socket| Constructor | Description |
|---|---|
GassInputStream(String host,
int port,
String file) |
Opens Gass input stream in secure mode with default
user credentials.
|
GassInputStream(GSSCredential cred,
Authorization auth,
String host,
int port,
String file) |
Opens Gass input stream in secure mode with specified
user credentials.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected Socket |
openSocket(String host,
int port) |
abort, available, close, get, getSize, read, read, readmark, markSupported, readAllBytes, readNBytes, reset, skip, transferTopublic GassInputStream(String host, int port, String file) throws GassException, GSSException, IOException
host - host name of the gass serverport - port number of the gass serverfile - file to retrieve from the serverGassExceptionGSSExceptionIOExceptionpublic GassInputStream(GSSCredential cred, Authorization auth, String host, int port, String file) throws GassException, GSSException, IOException
cred - user credentials to usehost - host name of the gass serverport - port number of the gass serverfile - file to retrieve from the serverGassExceptionGSSExceptionIOExceptionprotected Socket openSocket(String host, int port) throws IOException
openSocket in class HTTPInputStreamIOExceptionCopyright © 2018. All rights reserved.