Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for DfsReferralData (0.14 sec)

  1. src/main/java/jcifs/DfsReferralData.java

     * 
     * @author mbechler
     * @internal
     */
    public interface DfsReferralData {
    
        /**
         * 
         * @param type
         * @return the referral adapted to type
         * @throws ClassCastException
         *             if the type is not valid for this object
         */
        <T extends DfsReferralData> T unwrap ( Class<T> type );
    
    
        /**
         * @return the server this referral points to
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileLocationTest.java

             * {@inheritDoc}
             *
             * @see jcifs.DfsReferralData#getExpiration()
             */
            @Override
            public long getExpiration () {
                return 0;
            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see jcifs.DfsReferralData#next()
             */
            @Override
            public DfsReferralData next () {
                return this;
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsReferral.java

     */
    
    package jcifs.smb;
    
    
    import jcifs.DfsReferralData;
    
    
    /**
     * 
     * @author mbechler
     *
     * @internal
     */
    @SuppressWarnings ( "javadoc" )
    public class DfsReferral extends SmbException {
    
        /**
         * 
         */
        private static final long serialVersionUID = 1486630733410281686L;
    
        private final DfsReferralData data;
    
    
        /**
         * @param dr
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/DfsTest.java

            DfsReferralData ref = dfs.resolve(context, getTestServer(), getTestShare(), "");
            assertNull(ref);
        }
    
    
        @Test
        public void resolveCacheMatch () throws CIFSException, URISyntaxException {
            Assume.assumeFalse("Is standalone DFS", isStandalone());
            DfsReferralData ref = doResolve(null, "", true);
            DfsReferralData ref2 = doResolve(null, "", true);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbResourceLocatorInternal.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    
    import jcifs.CIFSException;
    import jcifs.DfsReferralData;
    import jcifs.SmbResourceLocator;
    
    
    /**
     * @author mbechler
     *
     */
    public interface SmbResourceLocatorInternal extends SmbResourceLocator {
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals ( Object obj ) {
            if ( ! ( obj instanceof DfsReferralData ) ) {
                return false;
            }
            DfsReferralData other = (DfsReferralData) obj;
    
            return Objects.equals(getServer(), other.getServer()) && Objects.equals(getShare(), other.getShare())
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DfsImpl.java

            }
            return transport;
        }
    
    
        private static SmbTransportImpl getReferralTransport ( CIFSContext tf, DfsReferralData dr ) throws SmbAuthException {
            try {
                if ( dr != null ) {
                    DfsReferralData start = dr;
                    IOException e = null;
                    do {
                        if ( dr.getServer() != null && !dr.getServer().isEmpty() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.dfs;
    
    
    import java.util.Map;
    
    import jcifs.DfsReferralData;
    
    
    /**
     * @author mbechler
     *
     */
    public interface DfsReferralDataInternal extends DfsReferralData {
    
        /**
         * Replaces the host with the given FQDN if it is currently unqualified
         * 
         * @param fqdn
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeConnection.java

                    : loc.getUNCPath();
            String share = loc.getShare();
    
            DfsReferralData start = referral != null ? referral : this.ctx.getDfs().resolve(this.ctx, hostName, loc.getShare(), path);
            DfsReferralData dr = start;
            IOException last = null;
            do {
                if ( dr != null ) {
                    targetDomain = dr.getDomain();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportInternal.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    
    import java.io.IOException;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.DfsReferralData;
    import jcifs.SmbSession;
    import jcifs.SmbTransport;
    
    
    /**
     * @author mbechler
     *
     */
    public interface SmbTransportInternal extends SmbTransport {
    
        /**
         * @param cap
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
Back to top