- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for FooHandler (0.22 sec)
-
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* * <pre>{@code * 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(); * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 10 21:56:03 UTC 2023 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* * <pre>{@code * 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(); * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 10 21:56:03 UTC 2023 - 7.1K bytes - Viewed (0) -
src/net/http/doc.go
ListenAndServe starts an HTTP server with a given address and handler. The handler is usually nil, which means to use [DefaultServeMux]. [Handle] and [HandleFunc] add handlers to [DefaultServeMux]: http.Handle("/foo", fooHandler) http.HandleFunc("/bar", func(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello, %q", html.EscapeString(r.URL.Path)) }) log.Fatal(http.ListenAndServe(":8080", nil))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java
* * <pre>{@code * static final ImmutableTypeToInstanceMap<Handler<?>> HANDLERS = * ImmutableTypeToInstanceMap.<Handler<?>>builder() * .put(new TypeToken<Handler<Foo>>() {}, new FooHandler()) * .put(new TypeToken<Handler<Bar>>() {}, new SubBarHandler()) * .build(); * }</pre> * * <p>After invoking {@link #build()} it is still possible to add more entries and build again.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 01 20:46:24 UTC 2022 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java
* * <pre>{@code * static final ImmutableTypeToInstanceMap<Handler<?>> HANDLERS = * ImmutableTypeToInstanceMap.<Handler<?>>builder() * .put(new TypeToken<Handler<Foo>>() {}, new FooHandler()) * .put(new TypeToken<Handler<Bar>>() {}, new SubBarHandler()) * .build(); * }</pre> * * <p>After invoking {@link #build()} it is still possible to add more entries and build again.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 01 20:46:24 UTC 2022 - 5.6K bytes - Viewed (0)