Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for toString (0.29 sec)

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

        assertThat(base.newBuilder().host("[::1]").build().toString())
          .isEqualTo("http://[::1]/")
        assertThat(base.newBuilder().host("[::0001]").build().toString())
          .isEqualTo("http://[::1]/")
        assertThat(base.newBuilder().host("::1").build().toString())
          .isEqualTo("http://[::1]/")
        assertThat(base.newBuilder().host("::0001").build().toString())
          .isEqualTo("http://[::1]/")
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

            fragment = encodedFragment?.percentDecode(),
            url = toString(),
          )
        }
    
        private fun effectivePort(): Int {
          return if (port != -1) port else defaultPort(scheme!!)
        }
    
        override fun toString(): String {
          return buildString {
            if (scheme != null) {
              append(scheme)
              append("://")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  3. okhttp/api/okhttp.api

    	public final fun proxySelector ()Ljava/net/ProxySelector;
    	public final fun socketFactory ()Ljavax/net/SocketFactory;
    	public final fun sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory;
    	public fun toString ()Ljava/lang/String;
    	public final fun url ()Lokhttp3/HttpUrl;
    }
    
    public abstract interface class okhttp3/AsyncDns {
    	public static final field Companion Lokhttp3/AsyncDns$Companion;
    	public static final field TYPE_A I
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

     *  New: `HttpUrl.newBuilder()` resolves a link to a builder.
     *  New: Add the TLS version to the `Handshake`.
     *  New: Drop `Request.uri()` and `Request#urlString()`. Just use
        `Request.url().uri()` and `Request.url().toString()`.
     *  New: Add URL to HTTP response logging.
     *  New: Make `HttpUrl` the blessed URL method of `Request`.
    
    
    ## Version 2.x
    
    [Change log](changelog_2x.md)
    
    
    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)
  5. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * if (trustManagers.length != 1 || !(trustManagers[0] instanceof X509TrustManager)) {
         *     throw new IllegalStateException("Unexpected default trust managers:"
         *         + Arrays.toString(trustManagers));
         * }
         * X509TrustManager trustManager = (X509TrustManager) trustManagers[0];
         *
         * SSLContext sslContext = SSLContext.getInstance("TLS");
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            else -> errorWithAttachment("FirScope ${this::class}` is expected to be one of FirNestedClassifierScope and FirClassUseSiteMemberScope to get ClassId") {
                withEntry("firScope", this@correspondingClassIdIfExists) { it.toString() }
            }
        }
    
        private fun ClassId.idWithoutCompanion() = if (shortClassName == SpecialNames.DEFAULT_NAME_FOR_COMPANION_OBJECT) outerClassId else this
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
Back to top