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