Java Globus API: Class GSIURLConnection

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


Field Summary
protected  Authorization authorization
           
protected  GSSCredential credentials
           
protected  int delegationType
           
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
protected GSIURLConnection(URL url)
          Subclasses must overwrite.
 
Method Summary
abstract  void disconnect()
           
 Authorization getAuthorization()
           
 GSSCredential getCredentials()
           
 int getDelegationType()
           
 void setAuthorization(Authorization auth)
           
 void setCredentials(GSSCredential credentials)
           
 void setDelegationType(int delegationType)
           
 
Methods inherited from class java.net.URLConnection
connect, getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getIfModifiedSince, getInputStream, getLastModified, getOutputStream, getPermission, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

credentials

protected GSSCredential credentials

authorization

protected Authorization authorization

delegationType

protected int delegationType
Constructor Detail

GSIURLConnection

protected GSIURLConnection(URL url)
Subclasses must overwrite.
Method Detail

disconnect

public abstract void disconnect()

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()