Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getUrlHandler (0.23 sec)

  1. src/main/java/jcifs/context/BaseContext.java

        public BufferCache getBufferCache () {
            return this.bufferCache;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getUrlHandler()
         */
        @Override
        public URLStreamHandler getUrlHandler () {
            return this.urlHandler;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getSIDResolver()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 27 18:25:00 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/CIFSContext.java

        /**
         * 
         * @return the used credentials
         */
        Credentials getCredentials ();
    
    
        /**
         * @return an URL handler using this context
         */
        URLStreamHandler getUrlHandler ();
    
    
        /**
         * @return whether default credentials are available
         */
        boolean hasDefaultCredentials ();
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/TimeoutTest.java

                CIFSContext ctx = lowConnectTimeout(getContext());
                try ( SmbResource f = new SmbFile(
                    new URL("smb", addr.getHostAddress(), port, "/" + getTestShare() + "/connect.test", ctx.getUrlHandler()),
                    ctx) ) {
                    runConnectTimeoutTest(threadsBefore, start, ctx, f);
                }
            }
        }
    
    
        @Test ( expected = ConnectionTimeoutException.class )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/CIFSContextWrapper.java

        }
    
    
        @Override
        public Credentials getCredentials () {
            return this.delegate.getCredentials();
        }
    
    
        @Override
        public URLStreamHandler getUrlHandler () {
            if ( this.wrappedHandler == null ) {
                this.wrappedHandler = new Handler(this);
            }
            return this.wrappedHandler;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/ContextConfigTest.java

            assertNotNull(this.context.getBufferCache());
            assertNotNull(this.context.getNameServiceClient());
            assertNotNull(this.context.getTransportPool());
            assertNotNull(this.context.getUrlHandler());
            assertNotNull(this.context.getCredentials());
        }
    
    
        @Test
        public void testCredentials () {
            assertFalse(this.context.hasDefaultCredentials());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

            this(
                isWorkgroup(context) ? new URL(null, "smb://" + checkName(name), context.getContext().getUrlHandler())
                        : new URL(context.getLocator().getURL(), encodeRelativePath(checkName(name)), context.getContext().getUrlHandler()),
                context.getContext());
            setContext(context, name);
        }
    
    
        /**
         * Construct from string URL
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top