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 serverGassExceptionorg.ietf.jgss.GSSExceptionjava.io.IOExceptionpublic 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 serverGassExceptionorg.ietf.jgss.GSSExceptionjava.io.IOExceptionprotected java.net.Socket openSocket(java.lang.String host,
int port)
throws java.io.IOException
openSocket in class HTTPInputStreamjava.io.IOExceptionCopyright © 2013. All Rights Reserved.