Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 85 for APPLICATION (0.23 sec)

  1. okhttp-android/src/main/baseline-prof.txt

    HSPLandroidx/core/app/CoreComponentFactory;->instantiateApplication(Ljava/lang/ClassLoader;Ljava/lang/String;)Landroid/app/Application;
    HSPLandroidx/core/app/CoreComponentFactory;->instantiateProvider(Ljava/lang/ClassLoader;Ljava/lang/String;)Landroid/content/ContentProvider;
    HSPLandroidx/core/view/MenuHostHelper;-><init>(Ljava/lang/Runnable;)V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       *     READ 3400330d1dfc7f3f7f4b8d4d803dfcf6
       *
       * The first five lines of the journal form its header. They are the constant string
       * "libcore.io.DiskLruCache", the disk cache's version, the application's version, the value
       * count, and a blank line.
       *
       * Each of the subsequent lines in the file is a record of the state of a cache entry. Each line
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  3. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

        assertThat(body!!.contentType().toString()).isEqualTo(
          "application/x-www-form-urlencoded; charset=utf-8",
        )
        assertThat(bodyAsString(body)).isEqualTo("foo")
      }
    
      @Test
      fun contentTypeHeader() {
        val request =
          fromArgs(
            "-d",
            "foo",
            "-H",
            "Content-Type: application/json",
            "http://example.com",
          ).createRequest()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

        val request =
          Request.Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
            .header("User-Agent", "OkHttp Headers.java")
            .addHeader("Accept", "application/json; q=0.5")
            .addHeader("Accept", "application/vnd.github.v3+json")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java

        Request request = new Request.Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
            .header("User-Agent", "OkHttp Headers.java")
            .addHeader("Accept", "application/json; q=0.5")
            .addHeader("Accept", "application/vnd.github.v3+json")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.6K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.C.2.2.txt

       070F; SYRIAC ABBREVIATION MARK
       180E; MONGOLIAN VOWEL SEPARATOR
       200C; ZERO WIDTH NON-JOINER
       200D; ZERO WIDTH JOINER
       2028; LINE SEPARATOR
       2029; PARAGRAPH SEPARATOR
       2060; WORD JOINER
       2061; FUNCTION APPLICATION
       2062; INVISIBLE TIMES
       2063; INVISIBLE SEPARATOR
       206A-206F; [CONTROL CHARACTERS]
       FEFF; ZERO WIDTH NO-BREAK SPACE
       FFF9-FFFC; [CONTROL CHARACTERS]
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 498 bytes
    - Viewed (0)
  7. docs/recipes.md

                .url("https://api.github.com/repos/square/okhttp/issues")
                .header("User-Agent", "OkHttp Headers.java")
                .addHeader("Accept", "application/json; q=0.5")
                .addHeader("Accept", "application/vnd.github.v3+json")
                .build()
    
            client.newCall(request).execute().use { response ->
              if (!response.isSuccessful) throw IOException("Unexpected code $response")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  8. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

          parse("text/plain;boundary=foo;charset=utf-8").hashCode(),
        )
      }
    
      @Test fun testValidParse() {
        assertMediaType("text/plain")
        assertMediaType("application/atom+xml; charset=utf-8")
        assertMediaType("application/atom+xml; a=1; a=2; b=3")
        assertMediaType("image/gif; foo=bar")
        assertMediaType("text/plain; a=1")
        assertMediaType("text/plain; a=1; a=2; b=3")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

        sslSocket.sslParameters = sslParameters
      }
    
      @SuppressSignatureCheck
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? {
        return try {
          // SSLSocket.getApplicationProtocol returns "" if application protocols values will not
          // be used. Observed if you didn't specify SSLParameters.setApplicationProtocols
          when (val protocol = sslSocket.applicationProtocol) {
            null, "" -> null
            else -> protocol
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

    import okhttp3.CookieJar
    import okhttp3.Interceptor
    import okhttp3.Response
    import okhttp3.internal.USER_AGENT
    import okhttp3.internal.toHostHeader
    import okio.GzipSource
    import okio.buffer
    
    /**
     * Bridges from application code to network code. First it builds a network request from a user
     * request. Then it proceeds to call the network. Finally it builds a user response from the network
     * response.
     */
    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 (2)
Back to top