Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for setaun (0.3 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

      private val cache =
        Cache(
          fileSystem = LoggingFilesystem(fileSystem),
          directory = "/cache".toPath(),
          maxSize = Int.MAX_VALUE.toLong(),
        )
    
      @BeforeEach
      fun setUp(
        server: MockWebServer,
        @MockWebServerInstance("server2") server2: MockWebServer,
      ) {
        this.server = server
        this.server2 = server2
    
        platform.assumeNotOpenJSSE()
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

        check(index < interceptors.size)
    
        calls++
    
        if (exchange != null) {
          check(exchange.finder.routePlanner.sameHostAndPort(request.url)) {
            "network interceptor ${interceptors[index - 1]} must retain the same host and port"
          }
          check(calls == 1) {
            "network interceptor ${interceptors[index - 1]} must call proceed() exactly once"
          }
        }
    
        // Call the next interceptor in the chain.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        This simple option dramatically changes the behavior of the request body and of the entire
        call.
    
        The `RequestBody.writeTo()` method may now retain a reference to the provided sink and
        hand it off to another thread to write to it after `writeTo` returns.
    
        The `EventListener` may now see requests and responses interleaved in ways not previously
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  4. gradle/wrapper/gradle-wrapper.jar

    meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            .build()
        assertFailsWith<IllegalStateException> {
          client.newCall(request).execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "network interceptor $interceptor must retain the same host and port",
          )
        }
      }
    
      @Test
      fun networkInterceptorsHaveConnectionAccess() {
        server.enqueue(MockResponse())
        val interceptor =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      fun emptyCache(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        cache.close()
        assertJournalEquals()
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun recoverFromInitializationFailure(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  7. .github/workflows/containers.yml

            uses: actions/checkout@v4
            with:
              fetch-depth: 0
    
          - name: Configure JDK
            uses: actions/setup-java@v4
            with:
              distribution: 'zulu'
              java-version: 17
    
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v3
    
          - name: Run Container Tests
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Mar 23 12:00:11 GMT 2024
    - 911 bytes
    - Viewed (0)
  8. okhttp-android/src/test/kotlin/okhttp3/android/AndroidLoggingTest.kt

        assertThat(logs.map { it.msg }).containsExactly(
          "--> GET http://google.com/robots.txt",
          "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit",
        )
        // We should consider if these logs should retain Exceptions
        assertThat(logs.last().throwable).isNull()
      }
    
      @Test
      fun testLoggingEventListener() {
        val client =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/BouncyCastleTest.kt

      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
      var client = clientTestRule.newClient()
      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
        OkHttpDebugLogging.enable("org.bouncycastle.jsse")
        platform.assumeBouncyCastle()
      }
    
      @Test
      fun testMozilla() {
        assumeNetwork()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CorrettoTest.kt

      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private val client = clientTestRule.newClient()
    
      @BeforeEach fun setUp() {
        platform.assumeCorretto()
      }
    
      @Test
      @Disabled
      fun testMozilla() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top