public abstract class GSIURLConnection extends URLConnection
| Modifier and Type | Field and Description |
|---|---|
protected Authorization |
authorization |
protected GSSCredential |
credentials |
protected int |
delegationType |
static String |
GSS_MODE_PROPERTY |
protected Integer |
gssMode |
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| Modifier | Constructor and Description |
|---|---|
protected |
GSIURLConnection(URL url)
Subclasses must overwrite.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
disconnect() |
Authorization |
getAuthorization() |
GSSCredential |
getCredentials() |
int |
getDelegationType() |
protected GSSName |
getExpectedName() |
Integer |
getGSSMode() |
void |
setAuthorization(Authorization auth) |
void |
setCredentials(GSSCredential credentials) |
void |
setDelegationType(int delegationType) |
void |
setGSSMode(Integer mode) |
void |
setRequestProperty(String key,
String value) |
addRequestProperty, connect, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, 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, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setUseCaches, toStringpublic static final String GSS_MODE_PROPERTY
protected GSSCredential credentials
protected Authorization authorization
protected int delegationType
protected Integer gssMode
protected GSIURLConnection(URL url)
public abstract void disconnect()
public void setGSSMode(Integer mode)
public Integer getGSSMode()
public void setCredentials(GSSCredential credentials)
public GSSCredential getCredentials()
public void setAuthorization(Authorization auth)
public Authorization getAuthorization()
public void setDelegationType(int delegationType)
public int getDelegationType()
protected GSSName getExpectedName() throws GSSException
GSSExceptionpublic void setRequestProperty(String key, String value)
setRequestProperty in class URLConnectionCopyright © 2013. All Rights Reserved.