public class DfsReferralDataImpl extends Object implements DfsReferralDataInternal
| Constructor and Description |
|---|
DfsReferralDataImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
append(DfsReferralDataInternal dr) |
DfsReferralDataInternal |
combine(DfsReferralData n) |
boolean |
equals(Object obj) |
void |
fixupDomain(String dom)
Possibly appends the given domain name to the host name if it is currently unqualified
|
void |
fixupHost(String fqdn)
Replaces the host with the given FQDN if it is currently unqualified
|
static DfsReferralDataImpl |
fromReferral(Referral ref,
String reqPath,
long expire,
int consumed) |
String |
getDomain() |
long |
getExpiration() |
int |
getFlags() |
String |
getKey() |
String |
getLink() |
String |
getPath() |
int |
getPathConsumed() |
String |
getServer() |
String |
getShare() |
long |
getTtl() |
int |
hashCode() |
void |
intermediate() |
boolean |
isIntermediate() |
boolean |
isResolveHashes()
Not exactly sure what that is all about, certainly legacy stuff
|
DfsReferralDataImpl |
next() |
void |
replaceCache()
Replaces the entry with key in the cache map with this referral
|
void |
setCacheMap(Map<String,DfsReferralDataInternal> map) |
void |
setDomain(String domain) |
void |
setKey(String key) |
void |
setLink(String link) |
void |
stripPathConsumed(int i)
Reduces path consumed by the given value
|
String |
toString() |
<T extends DfsReferralData> |
unwrap(Class<T> type) |
public <T extends DfsReferralData> T unwrap(Class<T> type)
unwrap in interface DfsReferralDataDfsReferralData.unwrap(java.lang.Class)public long getExpiration()
getExpiration in interface DfsReferralDatapublic int getPathConsumed()
getPathConsumed in interface DfsReferralDatapublic String getDomain()
getDomain in interface DfsReferralDataDfsReferralData.getDomain()public void setDomain(String domain)
domain - the domain to setpublic String getLink()
getLink in interface DfsReferralDatapublic void setLink(String link)
setLink in interface DfsReferralDataInternalpublic String getKey()
getKey in interface DfsReferralDataInternalpublic void setKey(String key)
setKey in interface DfsReferralDataInternalkey - the key to setpublic String getServer()
getServer in interface DfsReferralDatapublic String getShare()
getShare in interface DfsReferralDatapublic String getPath()
getPath in interface DfsReferralDatapublic int getFlags()
public void setCacheMap(Map<String,DfsReferralDataInternal> map)
setCacheMap in interface DfsReferralDataInternalDfsReferralDataInternal.setCacheMap(java.util.Map)public void replaceCache()
replaceCache in interface DfsReferralDataInternalDfsReferralDataInternal.replaceCache()public DfsReferralDataImpl next()
next in interface DfsReferralDatanext in interface DfsReferralDataInternalpublic void append(DfsReferralDataInternal dr)
append in interface DfsReferralDataInternaldr - public void stripPathConsumed(int i)
stripPathConsumed in interface DfsReferralDataInternalDfsReferralDataInternal.stripPathConsumed(int)public void fixupDomain(String dom)
DfsReferralDataInternalfixupDomain in interface DfsReferralDataInternalpublic void fixupHost(String fqdn)
DfsReferralDataInternalfixupHost in interface DfsReferralDataInternalpublic boolean isResolveHashes()
DfsReferralDataInternalisResolveHashes in interface DfsReferralDataInternalpublic void intermediate()
public boolean isIntermediate()
isIntermediate in interface DfsReferralDataInternalpublic long getTtl()
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public static DfsReferralDataImpl fromReferral(Referral ref, String reqPath, long expire, int consumed)
ref - reqPath - expire - consumed - public DfsReferralDataInternal combine(DfsReferralData n)
combine in interface DfsReferralDataInternalDfsReferralDataInternal.combine(jcifs.DfsReferralData)Copyright © 2023. All rights reserved.