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, toString
public 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
GSSException
public void setRequestProperty(String key, String value)
setRequestProperty
in class URLConnection
Copyright © 2016. All rights reserved.