Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for toAscii (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/Hc5IdnDnsResolver.java

         *
         * @param host the host string to convert
         * @return the ASCII representation of the host string
         */
        protected String toAscii(final String host) {
            return IDN.toASCII(decode(host), flag);
        }
    
        /**
         * Sets the flag for IDN conversion.
         *
         * @param flag the flag to set
         */
        public void setFlag(final int flag) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  2. android-test/src/androidDeviceTest/java/okhttp/android/test/OkHttpTest.kt

              assertEquals(
                true,
                ioe.cause
                  ?.cause
                  ?.message
                  ?.startsWith("Invalid input to toASCII"),
              )
            }
    
            else -> {
              throw ioe
            }
          }
        }
      }
    
      @Test
      @Disabled("breaks conscrypt test")
      fun testBouncyCastleRequest() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     * invalid URL. You can even be explicit about whether each component has been encoded already.
     *
     * [idna]: http://www.unicode.org/reports/tr46/#ToASCII
     */
    class HttpUrl private constructor(
      /** Either "http" or "https". */
      @get:JvmName("scheme") val scheme: String,
      /**
       * The decoded username, or an empty string if none is present.
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 63.5K bytes
    - Click Count (0)
Back to Top