GSIURLConnection (Java Globus API)

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
protected  Authorization authorization
           
protected  GlobusProxy credentials
           
protected  int delegationType
           
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
protected GSIURLConnection(java.net.URL url)
          Subclasses must overwrite.
 
Method Summary
abstract  void disconnect()
           
 Authorization getAuthorization()
           
 GlobusProxy getCredentials()
           
protected  GlobusProxy getCreds()
           
 int getDelegationType()
           
 void setAuthorization(Authorization auth)
           
 void setCredentials(GlobusProxy credentials)
           
 void setDelegationType(int delegationType)
           
 
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, setRequestProperty, setUseCaches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

credentials

protected GlobusProxy credentials

authorization

protected Authorization authorization

delegationType

protected int delegationType
Constructor Detail

GSIURLConnection

protected GSIURLConnection(java.net.URL url)
Subclasses must overwrite.

Method Detail

disconnect

public abstract void disconnect()

setCredentials

public void setCredentials(GlobusProxy credentials)

getCredentials

public GlobusProxy getCredentials()

setAuthorization

public void setAuthorization(Authorization auth)

getAuthorization

public Authorization getAuthorization()

setDelegationType

public void setDelegationType(int delegationType)

getDelegationType

public int getDelegationType()

getCreds

protected GlobusProxy getCreds()
                        throws java.io.IOException
java.io.IOException