Package org.globus.net
Class GSIURLConnection
- java.lang.Object
-
- java.net.URLConnection
-
- org.globus.net.GSIURLConnection
-
- Direct Known Subclasses:
GSIHttpURLConnection
public abstract class GSIURLConnection extends java.net.URLConnection
-
-
Field Summary
Fields Modifier and Type Field Description protected Authorization
authorization
protected org.ietf.jgss.GSSCredential
credentials
protected int
delegationType
static java.lang.String
GSS_MODE_PROPERTY
protected java.lang.Integer
gssMode
-
Constructor Summary
Constructors Modifier Constructor Description protected
GSIURLConnection(java.net.URL url)
Subclasses must overwrite.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
disconnect()
Authorization
getAuthorization()
org.ietf.jgss.GSSCredential
getCredentials()
int
getDelegationType()
protected org.ietf.jgss.GSSName
getExpectedName()
java.lang.Integer
getGSSMode()
void
setAuthorization(Authorization auth)
void
setCredentials(org.ietf.jgss.GSSCredential credentials)
void
setDelegationType(int delegationType)
void
setGSSMode(java.lang.Integer mode)
void
setRequestProperty(java.lang.String key, java.lang.String value)
-
Methods inherited from class java.net.URLConnection
addRequestProperty, connect, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getInputStream, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setUseCaches, toString
-
-
-
-
Field Detail
-
GSS_MODE_PROPERTY
public static final java.lang.String GSS_MODE_PROPERTY
- See Also:
- Constant Field Values
-
credentials
protected org.ietf.jgss.GSSCredential credentials
-
authorization
protected Authorization authorization
-
delegationType
protected int delegationType
-
gssMode
protected java.lang.Integer gssMode
-
-
Method Detail
-
disconnect
public abstract void disconnect()
-
setGSSMode
public void setGSSMode(java.lang.Integer mode)
-
getGSSMode
public java.lang.Integer getGSSMode()
-
setCredentials
public void setCredentials(org.ietf.jgss.GSSCredential credentials)
-
getCredentials
public org.ietf.jgss.GSSCredential getCredentials()
-
setAuthorization
public void setAuthorization(Authorization auth)
-
getAuthorization
public Authorization getAuthorization()
-
setDelegationType
public void setDelegationType(int delegationType)
-
getDelegationType
public int getDelegationType()
-
getExpectedName
protected org.ietf.jgss.GSSName getExpectedName() throws org.ietf.jgss.GSSException
- Throws:
org.ietf.jgss.GSSException
-
setRequestProperty
public void setRequestProperty(java.lang.String key, java.lang.String value)
- Overrides:
setRequestProperty
in classjava.net.URLConnection
-
-