public class GassInputStream extends HTTPInputStream
input, size, socket
Constructor and Description |
---|
GassInputStream(org.ietf.jgss.GSSCredential cred,
Authorization auth,
java.lang.String host,
int port,
java.lang.String file)
Opens Gass input stream in secure mode with specified
user credentials.
|
GassInputStream(java.lang.String host,
int port,
java.lang.String file)
Opens Gass input stream in secure mode with default
user credentials.
|
Modifier and Type | Method and Description |
---|---|
protected java.net.Socket |
openSocket(java.lang.String host,
int port) |
public GassInputStream(java.lang.String host, int port, java.lang.String file) throws GassException, org.ietf.jgss.GSSException, java.io.IOException
host
- host name of the gass serverport
- port number of the gass serverfile
- file to retrieve from the serverGassException
org.ietf.jgss.GSSException
java.io.IOException
public GassInputStream(org.ietf.jgss.GSSCredential cred, Authorization auth, java.lang.String host, int port, java.lang.String file) throws GassException, org.ietf.jgss.GSSException, java.io.IOException
cred
- user credentials to usehost
- host name of the gass serverport
- port number of the gass serverfile
- file to retrieve from the serverGassException
org.ietf.jgss.GSSException
java.io.IOException
protected java.net.Socket openSocket(java.lang.String host, int port) throws java.io.IOException
openSocket
in class HTTPInputStream
java.io.IOException
Copyright © 2012. All Rights Reserved.