Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,148 for Handler (0.17 sec)

  1. src/test/java/jcifs/context/BaseContextTest.java

        }
    
        @Test
        @DisplayName("getUrlHandler should return initialized URL handler")
        void testGetUrlHandler() {
            // When
            URLStreamHandler urlHandler = context.getUrlHandler();
    
            // Then
            assertNotNull(urlHandler, "URL handler should not be null");
            assertSame(urlHandler, context.getUrlHandler(), "Should return same instance on multiple calls");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/CIFSContext.java

         * Get the credentials associated with this context
         *
         * @return the used credentials
         */
        Credentials getCredentials();
    
        /**
         * Get a URL stream handler for SMB URLs
         *
         * @return an URL handler using this context
         */
        URLStreamHandler getUrlHandler();
    
        /**
         * Check if default credentials are configured
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileTest.java

            when(mockCifsContext.getCredentials()).thenReturn(mockCredentials);
    
            // Create URL handler
            Handler urlHandler = new jcifs.smb.Handler(mockCifsContext);
            when(mockCifsContext.getUrlHandler()).thenReturn(urlHandler);
    
            // Use the URL handler to create the URL
            url = new URL(null, "smb://localhost/share/file.txt", urlHandler);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceLocatorTest.java

                return 0;
            }
    
            @Override
            public URL getURL() {
                try {
                    // Create URL with custom protocol handler for SMB
                    return new URL(null, urlStr, new jcifs.smb.Handler());
                } catch (Exception e) {
                    // Return null if URL creation fails
                    return null;
                }
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/context/BaseContext.java

    import jcifs.SmbResource;
    import jcifs.SmbTransportPool;
    import jcifs.netbios.NameServiceClientImpl;
    import jcifs.smb.BufferCacheImpl;
    import jcifs.smb.CredentialsInternal;
    import jcifs.smb.DfsImpl;
    import jcifs.smb.Handler;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SIDCacheImpl;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbNamedPipe;
    import jcifs.smb.SmbTransportPoolImpl;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

     * limitations under the License.
     */
    @file:Suppress("Since15")
    
    package okhttp3.recipes.kt
    
    import java.io.File
    import java.io.IOException
    import java.lang.ProcessBuilder.Redirect
    import java.util.logging.Handler
    import java.util.logging.Level
    import java.util.logging.LogRecord
    import java.util.logging.Logger
    import javax.crypto.SecretKey
    import javax.net.ssl.SSLSession
    import javax.net.ssl.SSLSocket
    import okhttp3.Call
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            final AtomicBoolean handlerCalled = new AtomicBoolean(false);
            final Thread.UncaughtExceptionHandler handler = (t, e) -> handlerCalled.set(true);
    
            indexUpdater.setUncaughtExceptionHandler(handler);
            assertSame(handler, indexUpdater.getUncaughtExceptionHandler());
        }
    
        // Test setDefaultUncaughtExceptionHandler
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       *
       * {@snippet :
       * static final ImmutableClassToInstanceMap<Handler> HANDLERS =
       *     new ImmutableClassToInstanceMap.Builder<Handler>()
       *         .put(FooHandler.class, new FooHandler())
       *         .put(BarHandler.class, new SubBarHandler())
       *         .put(Handler.class, new QuuxHandler())
       *         .build();
       * }
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. api/go1.25.txt

    pkg net/http, method (*CrossOriginProtection) Check(*Request) error #73626
    pkg net/http, method (*CrossOriginProtection) Handler(Handler) Handler #73626
    pkg net/http, method (*CrossOriginProtection) SetDenyHandler(Handler) #73626
    pkg net/http, type CrossOriginProtection struct #73626
    pkg os, method (*Root) Chmod(string, fs.FileMode) error #67002
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jun 02 16:09:57 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/main/webapp/js/bootstrap.min.js.map

    event.replace(stripNameRegex, '')\n  return customEvents[event] || event\n}\n\nconst EventHandler = {\n  on(element, event, handler, delegationFunction) {\n    addHandler(element, event, handler, delegationFunction, false)\n  },\n\n  one(element, event, handler, delegationFunction) {\n    addHandler(element, event, handler, delegationFunction, true)\n  },\n\n  off(element, originalTypeEvent, handler, delegationFunction) {\n    if (typeof originalTypeEvent !== 'string' || !element) {\n      return\n    }\n\n ...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 211.9K bytes
    - Viewed (0)
Back to top