public class GassInputStream extends HTTPInputStream
input, size, socket
Constructor and Description |
---|
GassInputStream(GSSCredential cred,
Authorization auth,
String host,
int port,
String file)
Opens Gass input stream in secure mode with specified
user credentials.
|
GassInputStream(String host,
int port,
String file)
Opens Gass input stream in secure mode with default
user credentials.
|
Modifier and Type | Method and Description |
---|---|
protected Socket |
openSocket(String host,
int port) |
abort, available, close, get, getSize, read, read, read
mark, markSupported, reset, skip
public 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 serverGassException
GSSException
IOException
public 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 serverGassException
GSSException
IOException
protected Socket openSocket(String host, int port) throws IOException
openSocket
in class HTTPInputStream
IOException
Copyright © 2016. All rights reserved.