Package jcifs

Interface DfsReferralData

    • 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