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 void
append(DfsReferralDataInternal dr)
DfsReferralDataInternal
combine(DfsReferralData next)
void
fixupDomain(String domain)
Possibly appends the given domain name to the host name if it is currently unqualifiedvoid
fixupHost(String fqdn)
Replaces the host with the given FQDN if it is currently unqualifiedString
getKey()
boolean
isIntermediate()
boolean
isResolveHashes()
Not exactly sure what that is all about, certainly legacy stuffDfsReferralDataInternal
next()
void
replaceCache()
Replaces the entry with key in the cache map with this referralvoid
setCacheMap(Map<String,DfsReferralDataInternal> map)
void
setKey(String key)
void
setLink(String link)
void
stripPathConsumed(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:
next
in 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
-
-
-