Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 751 for handle2 (0.04 sec)

  1. src/test/java/jcifs/https/HandlerTest.java

                Handler handler2 = new Handler(null);
                Handler handler3 = new Handler(null);
    
                // Then
                assertEquals(443, handler1.getDefaultPort());
                assertEquals(443, handler2.getDefaultPort());
                assertEquals(443, handler3.getDefaultPort());
            }
        }
    
        @Nested
        @DisplayName("HTTP vs HTTPS Comparison Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. cmd/generic-handlers.go

    		}
    		h.ServeHTTP(w, r)
    	})
    }
    
    // criticalErrorHandler handles panics and fatal errors by
    // `panic(logger.ErrCritical)` as done by `logger.CriticalIf`.
    //
    // It should be always the first / highest HTTP handler.
    func setCriticalErrorHandler(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		defer func() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  3. src/test/java/jcifs/smb1/https/HandlerTest.java

                Handler handler2 = new Handler();
                Handler handler3 = new Handler();
    
                // Then
                assertEquals(443, handler1.getDefaultPort());
                assertEquals(443, handler2.getDefaultPort());
                assertEquals(443, handler3.getDefaultPort());
            }
        }
    
        @Nested
        @DisplayName("HTTP vs HTTPS Comparison Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. docs/smb3-features/02-persistent-handles-design.md

            List<CompletableFuture<Void>> futures = new ArrayList<>();
            
            for (HandleInfo handle : handles) {
                futures.add(CompletableFuture.runAsync(() -> {
                    try {
                        reconnectHandle(handle);
                    } catch (Exception e) {
                        log.error("Failed to reconnect handle: " + handle.path, e);
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            TestCorsHandler handler1 = new TestCorsHandler("handler1");
            TestCorsHandler handler2 = new TestCorsHandler("handler2");
            TestCorsHandler handler3 = new TestCorsHandler("handler3");
    
            // Execute
            corsHandlerFactory.add(origin1, handler1);
            corsHandlerFactory.add(origin2, handler2);
            corsHandlerFactory.add(origin3, handler3);
    
            // Verify
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/Handler.java

            synchronized (PROTOCOL_HANDLERS) {
                URLStreamHandler handler = (URLStreamHandler) PROTOCOL_HANDLERS.get(protocol);
                if (handler != null) {
                    return handler;
                }
                if (factory != null) {
                    handler = factory.createURLStreamHandler(protocol);
                }
                if (handler == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/Handler.java

            synchronized (PROTOCOL_HANDLERS) {
                URLStreamHandler handler = PROTOCOL_HANDLERS.get(protocol);
                if (handler != null) {
                    return handler;
                }
                if (factory != null) {
                    handler = factory.createURLStreamHandler(protocol);
                }
                if (handler == null) {
                    final String path = System.getProperty(HANDLER_PKGS_PROPERTY);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. cmd/metrics-v3-handler.go

    )
    
    type promLogger struct{}
    
    func (p promLogger) Println(v ...any) {
    	metricsLogIf(GlobalContext, fmt.Errorf("metrics handler error: %v", v))
    }
    
    type metricsV3Server struct {
    	registry *prometheus.Registry
    	opts     promhttp.HandlerOpts
    	auth     func(http.Handler) http.Handler
    
    	metricsData *metricsV3Collection
    }
    
    var (
    	globalMetricsV3CollectorPaths []collectorPath
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/events.md

    In this case, the `startup` event handler function will initialize the items "database" (just a `dict`) with some values.
    
    You can add more than one event handler function.
    
    And your application won't start receiving requests until all the `startup` event handlers have completed.
    
    ### `shutdown` event { #shutdown-event }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/https/Handler.java

     * capabilities to the default HTTPS handler. This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     *
     * @deprecated {@link NtlmHttpURLConnection} is broken by design.
     */
    @Deprecated
    public class Handler extends jcifs.http.Handler {
    
        /**
         * The default HTTPS port (<code>443</code>).
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top