- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,331 for Handler (0.04 sec)
-
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.7K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java
if (logger.isDebugEnabled()) { logger.debug("Loaded CorsHandler: origin={}", origin); } handerMap.put(origin, handler); } /** * Gets the CORS handler for the specified origin. * If no specific handler is found, returns the wildcard handler. * * @param origin the origin to look up * @return the CORS handler for the origin, or null if none found */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 2.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
when (type) { TYPE_DATA -> readData(handler, length, flags, streamId) TYPE_HEADERS -> readHeaders(handler, length, flags, streamId) TYPE_PRIORITY -> readPriority(handler, length, flags, streamId) TYPE_RST_STREAM -> readRstStream(handler, length, flags, streamId) TYPE_SETTINGS -> readSettings(handler, length, flags, streamId) TYPE_PUSH_PROMISE -> readPushPromise(handler, length, flags, streamId)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
CIFSContext mockCtx; @Mock Configuration mockCfg; // Provides a fresh handler instance for tests private Handler newHandler() { return new Handler(); } // Provides a handler wired with a mocked CIFSContext private Handler newHandlerWith(CIFSContext ctx) { return new Handler(ctx); } @Test @DisplayName("getDefaultPort returns SMB default port")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
* @param handler the handler to process resources (must not be {@literal null}) */ public static void forEach(final File rootDir, final ResourceHandler handler) { assertArgumentNotNull("rootDir", rootDir); assertArgumentNotNull("handler", handler); forEach(rootDir, null, handler); } /**
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.2K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
/// ## Override the default exception handlers { #override-the-default-exception-handlers } **FastAPI** has some default exception handlers. These handlers are in charge of returning the default JSON responses when you `raise` an `HTTPException` and when the request has invalid data. You can override these exception handlers with your own.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9K bytes - Viewed (0) -
internal/http/server.go
return } atomic.AddInt32(&srv.requestCount, 1) defer atomic.AddInt32(&srv.requestCount, -1) // Handle request using passed handler. handler.ServeHTTP(w, r) }) srv.listenerMutex.Lock() srv.Handler = wrappedHandler srv.listener = listener srv.listenerMutex.Unlock() var l net.Listener = listener if tlsConfig != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 6.5K bytes - Viewed (0) -
internal/grid/connection_test.go
} errFatal := func(err error) { t.Helper() if err != nil { t.Fatal(err) } } wrapServer := func(handler http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { t.Logf("Got a %s request for: %v", r.Method, r.URL) handler.ServeHTTP(w, r) }) } connReady := make(chan struct{}) // We fake a local and remote server. localHost := hosts[0]
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 5.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java
import org.dbflute.utflute.core.PlainTestCase; import org.mortbay.jetty.Handler; import org.mortbay.jetty.HttpConnection; import org.mortbay.jetty.HttpMethods; import org.mortbay.jetty.Server; import org.mortbay.jetty.handler.AbstractHandler; import org.mortbay.jetty.handler.DefaultHandler; import org.mortbay.jetty.handler.HandlerList; /** * @author shinsuke * */
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 5.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java
ArtifactHandler handler = manager.getArtifactHandler(id); type = new DefaultType( id, languageRegistry.lookup(handler.getLanguage()).orElseGet(() -> handler::getLanguage), handler.getExtension(), handler.getClassifier(), handler.isIncludesDependencies(),
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed May 14 04:47:58 UTC 2025 - 4K bytes - Viewed (0)