org.globus.io.streams
Class GassInputStream
java.lang.Object
java.io.InputStream
org.globus.io.streams.GlobusInputStream
org.globus.io.streams.HTTPInputStream
org.globus.io.streams.GassInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class GassInputStream
- extends HTTPInputStream
Constructor Summary |
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. |
Method Summary |
protected java.net.Socket |
openSocket(java.lang.String host,
int port)
|
Methods inherited from class java.io.InputStream |
mark, markSupported, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GassInputStream
public GassInputStream(java.lang.String host,
int port,
java.lang.String file)
throws GassException,
org.ietf.jgss.GSSException,
java.io.IOException
- Opens Gass input stream in secure mode with default
user credentials.
- Parameters:
host
- host name of the gass serverport
- port number of the gass serverfile
- file to retrieve from the server
- Throws:
GassException
org.ietf.jgss.GSSException
java.io.IOException
GassInputStream
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
- Opens Gass input stream in secure mode with specified
user credentials.
- Parameters:
cred
- user credentials to usehost
- host name of the gass serverport
- port number of the gass serverfile
- file to retrieve from the server
- Throws:
GassException
org.ietf.jgss.GSSException
java.io.IOException
openSocket
protected java.net.Socket openSocket(java.lang.String host,
int port)
throws java.io.IOException
- Overrides:
openSocket
in class HTTPInputStream
- Throws:
java.io.IOException
Copyright © 2013. All Rights Reserved.