Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 315 for router (0.04 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt

      }
    
      @AfterEach
      fun tearDown() {
        Authenticator.setDefault(null)
        factory.close()
      }
    
      @Test
      fun testBasicAuth() {
        fakeDns["server"] = listOf(InetAddress.getLocalHost())
    
        val route = factory.newRoute()
    
        val request =
          Request
            .Builder()
            .url("https://server/robots.txt")
            .build()
        val response =
          Response
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/how-to/extending-openapi.md

    * `title`:OpenAPI 的標題,會顯示在文件中。
    * `version`:你的 API 版本,例如 `2.5.0`。
    * `openapi_version`:所使用的 OpenAPI 規格版本。預設為最新版本:`3.1.0`。
    * `summary`:API 的簡短摘要。
    * `description`:API 的描述,可包含 Markdown,會顯示在文件中。
    * `routes`:路由列表,也就是所有已註冊的路徑操作。來源為 `app.routes`。
    
    /// info
    
    `summary` 參數在 OpenAPI 3.1.0 以上可用,且需 FastAPI 0.99.0 以上版本支援。
    
    ///
    
    ## 覆寫預設行為 { #overriding-the-defaults }
    
    基於上述資訊,你可以用相同的工具函式來產生 OpenAPI 結構,並覆寫你需要客製的部分。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        NavigableMap<K, V> innermost =
            new SafeTreeMap<>((Comparator<? super K>) Ordering.natural().nullsFirst());
        TestMap<K, V> inner = new TestMap<>(innermost, mutex);
        NavigableMap<K, V> outer = Synchronized.navigableMap(inner, mutex);
        return outer;
      }
    
      static class TestEntry<K, V> extends ForwardingMapEntry<K, V> implements Serializable {
        private final Entry<K, V> delegate;
        private final Object mutex;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/eventbus/EventBus.java

     *
     * <h2>Posting Events</h2>
     *
     * <p>To post an event, simply provide the event object to the {@link #post(Object)} method. The
     * EventBus instance will determine the type of event and route it to all registered listeners.
     *
     * <p>Events are routed based on their type &mdash; an event will be delivered to any subscriber for
     * any type to which the event is assignable. This includes implemented interfaces, all
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.7K bytes
    - Click Count (0)
  5. docs/zh/docs/how-to/extending-openapi.md

    - `title`:OpenAPI 标题,显示在文档中。
    - `version`:你的 API 版本,例如 `2.5.0`。
    - `openapi_version`:使用的 OpenAPI 规范版本。默认是最新的 `3.1.0`。
    - `summary`:API 的简短摘要。
    - `description`:API 的描述,可包含 Markdown,并会展示在文档中。
    - `routes`:路由列表,即已注册的每个路径操作。来自 `app.routes`。
    
    /// info | 信息
    
    参数 `summary` 仅在 OpenAPI 3.1.0 及更高版本中可用,FastAPI 0.99.0 及以上版本支持。
    
    ///
    
    ## 覆盖默认值 { #overriding-the-defaults }
    
    基于以上信息,你可以用同一个工具函数生成 OpenAPI 架构,并按需覆盖其中的各个部分。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3K bytes
    - Click Count (0)
  6. cycle_suppress_list.txt

    FIELD java.util.AbstractMap.values com.google.common.collect.TreeRangeMap.SubRangeMap.SubRangeMapAsMap.values.$
    OUTER com.google.common.collect.StandardTable.Row
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 24 01:59:49 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        responseBody = Buffer().asResponseBody(null, 0L)
      }
    
      @Test
      fun route() {
        val route: Route = factory.newRoute()
        val address: Address = route.address
        val proxy: Proxy = route.proxy
        val inetSocketAddress: InetSocketAddress = route.socketAddress
        val requiresTunnel: Boolean = route.requiresTunnel()
      }
    
      @Test
      fun socketPolicy() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  8. docs/ko/docs/how-to/extending-openapi.md

    * `version`: API 버전. 예: `2.5.0`.
    * `openapi_version`: 사용되는 OpenAPI 스펙 버전. 기본값은 최신인 `3.1.0`.
    * `summary`: API에 대한 짧은 요약.
    * `description`: API 설명. markdown을 포함할 수 있으며 문서에 표시됩니다.
    * `routes`: 라우트 목록. 각각 등록된 *경로 처리*입니다. `app.routes`에서 가져옵니다.
    
    /// info | 정보
    
    `summary` 파라미터는 OpenAPI 3.1.0 이상에서 사용할 수 있으며, FastAPI 0.99.0 이상에서 지원됩니다.
    
    ///
    
    ## 기본값 덮어쓰기 { #overriding-the-defaults }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    
    /** Attempt routes one at a time until one connects. */
    internal class SequentialExchangeFinder(
      override val routePlanner: RoutePlanner,
    ) : ExchangeFinder {
      override fun find(): RealConnection {
        var firstException: IOException? = null
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

        val address = client.dns.lookup(server.hostName)[0]
        val expectedAddress = InetSocketAddress(address, server.port)
        val event = listener.removeUpToEvent(ConnectionEvent.ConnectStart::class.java)
        assertThat(event.route.socketAddress).isEqualTo(expectedAddress)
      }
    
      @Test
      @Throws(UnknownHostException::class)
      fun failedConnect() {
        enableTls()
        server.enqueue(MockResponse.Builder().failHandshake().build())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 9.7K bytes
    - Click Count (0)
Back to Top