Package jcifs.internal.dfs
Interface DfsReferralDataInternal
-
- All Superinterfaces:
DfsReferralData
- All Known Implementing Classes:
DfsReferralDataImpl
public interface DfsReferralDataInternal extends DfsReferralData
- Author:
- mbechler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappend(DfsReferralDataInternal dr)DfsReferralDataInternalcombine(DfsReferralData next)voidfixupDomain(String domain)Possibly appends the given domain name to the host name if it is currently unqualifiedvoidfixupHost(String fqdn)Replaces the host with the given FQDN if it is currently unqualifiedStringgetKey()booleanisIntermediate()booleanisResolveHashes()Not exactly sure what that is all about, certainly legacy stuffDfsReferralDataInternalnext()voidreplaceCache()Replaces the entry with key in the cache map with this referralvoidsetCacheMap(Map<String,DfsReferralDataInternal> map)voidsetKey(String key)voidsetLink(String link)voidstripPathConsumed(int i)Reduces path consumed by the given value-
Methods inherited from interface jcifs.DfsReferralData
getDomain, getExpiration, getLink, getPath, getPathConsumed, getServer, getShare, unwrap
-
-
-
-
Method Detail
-
fixupHost
void fixupHost(String fqdn)
Replaces the host with the given FQDN if it is currently unqualified- Parameters:
fqdn-
-
fixupDomain
void fixupDomain(String domain)
Possibly appends the given domain name to the host name if it is currently unqualified- Parameters:
domain-
-
stripPathConsumed
void stripPathConsumed(int i)
Reduces path consumed by the given value- Parameters:
i-
-
next
DfsReferralDataInternal next()
- Specified by:
nextin interfaceDfsReferralData- Returns:
- pointer to next referral, points to self if there is no further referral
-
setLink
void setLink(String link)
- Parameters:
link-
-
getKey
String getKey()
- Returns:
- cache key
-
setKey
void setKey(String key)
- Parameters:
key- cache key
-
setCacheMap
void setCacheMap(Map<String,DfsReferralDataInternal> map)
- Parameters:
map-
-
replaceCache
void replaceCache()
Replaces the entry with key in the cache map with this referral
-
isResolveHashes
boolean isResolveHashes()
Not exactly sure what that is all about, certainly legacy stuff- Returns:
- resolveHashes
-
isIntermediate
boolean isIntermediate()
- Returns:
- whether this refrral needs to be resolved further
-
combine
DfsReferralDataInternal combine(DfsReferralData next)
- Parameters:
next-- Returns:
- new referral, combining a chain of referrals
-
append
void append(DfsReferralDataInternal dr)
- Parameters:
dr-
-
-