Package jcifs
Interface DfsReferralData
-
- All Known Subinterfaces:
DfsReferralDataInternal
- All Known Implementing Classes:
DfsReferralDataImpl
public interface DfsReferralDataInformation returned in DFS referrals- Author:
- mbechler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDomain()longgetExpiration()StringgetLink()StringgetPath()intgetPathConsumed()StringgetServer()StringgetShare()DfsReferralDatanext()<T extends DfsReferralData>
Tunwrap(Class<T> type)
-
-
-
Method Detail
-
unwrap
<T extends DfsReferralData> T unwrap(Class<T> type)
- Parameters:
type-- Returns:
- the referral adapted to type
- Throws:
ClassCastException- if the type is not valid for this object
-
getServer
String getServer()
- Returns:
- the server this referral points to
-
getDomain
String getDomain()
- Returns:
- the domain this referral is for
-
getShare
String getShare()
- Returns:
- the share this referral points to
-
getPathConsumed
int getPathConsumed()
- Returns:
- the number of characters from the unc path that were consumed by this referral
-
getPath
String getPath()
- Returns:
- the replacement path for this referal
-
getExpiration
long getExpiration()
- Returns:
- the expiration time of this entry
-
next
DfsReferralData next()
- Returns:
- pointer to next referral, points to self if there is no further referral
-
getLink
String getLink()
- Returns:
- the link
-
-