Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Didn (0.01 sec)

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

     * {@link java.net.IDN} class.
     *
     * <p>This class allows setting a custom flag for the IDN conversion and a custom
     * encoding for URL decoding.</p>
     *
     * <p>Example usage:</p>
     * <pre>
     * {@code
     * IdnDnsResolver resolver = new IdnDnsResolver();
     * resolver.setFlag(IDN.ALLOW_UNASSIGNED);
     * resolver.setEncoding("UTF-8");
     * InetAddress[] addresses = resolver.resolve("example.com");
     * }
     * </pre>
     *
     */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 06 07:24:43 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    @file:JvmName("GenerateIdnaMappingTableCode")
    
    package okhttp3.internal.idn
    
    import com.squareup.kotlinpoet.ClassName
    import com.squareup.kotlinpoet.FileSpec
    import com.squareup.kotlinpoet.KModifier
    import com.squareup.kotlinpoet.PropertySpec
    import java.io.File
    import okio.FileSystem
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (1)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import kotlin.math.abs
    import okio.ByteString
    
    internal sealed interface MappedRange {
      val rangeStart: Int
    
      data class Constant(
        override val rangeStart: Int,
        val type: Int,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. android-test-app/proguard-rules.pro

    # no rules should be needed
    
    -whyareyoukeeping class okhttp3.internal.idn.IdnaMappingTable {
      *;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Aug 03 19:38:06 UTC 2025
    - 100 bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import okhttp3.internal.idn.MappedRange.InlineDelta
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import org.junit.jupiter.api.Test
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

       * ```
       *
       * @param domain A canonicalized domain. An International Domain Name (IDN) should be punycode
       *     encoded.
       */
      fun getEffectiveTldPlusOne(domain: String): String? {
        // We use UTF-8 in the list so we need to convert to Unicode.
        val unicodeDomain = IDN.toUnicode(domain)
        val domainLabels = splitDomain(unicodeDomain)
    
        val rule = findMatchingRule(domainLabels)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

          sslSocket.sslParameters = sslParameters
        } catch (iae: IllegalArgumentException) {
          // probably java.lang.IllegalArgumentException: Invalid input to toASCII from IDN.toASCII
          throw IOException("Android internal error", iae)
        }
      }
    
      @SuppressSignatureCheck
      companion object {
        fun buildIfSupported(): SocketAdapter? = if (isSupported()) Android10SocketAdapter() else null
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

     * limitations under the License.
     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import okhttp3.internal.idn.IDNA_MAPPING_TABLE
    import okhttp3.internal.idn.Punycode
    import okio.Buffer
    
    /**
     * Quick and dirty pattern to differentiate IP addresses from hostnames. This is an approximation
     * of Android's private InetAddress#isNumeric API.
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. okhttp/build.gradle.kts

      filteringCharset = Charsets.UTF_8.toString()
    
      expand(
        // Build & use okhttp3/internal/-InternalVersion.kt
        "projectVersion" to project.version,
      )
    }
    
    // Build & use okhttp3/internal/idn/IdnaMappingTableInstance.kt
    val generateIdnaMappingTableConfiguration: Configuration by configurations.creating
    dependencies {
      generateIdnaMappingTableConfiguration(projects.okhttpIdnaMappingTable)
    }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    http://%ef%bc%85%ef%bc%94%ef%bc%91.com
    
    # ...%00 in fullwidth should fail (also as escaped UTF-8 input)
    http://\uff05\uff10\uff10.com
    http://%ef%bc%85%ef%bc%90%ef%bc%90.com
    
    # Basic IDN support, UTF-8 and UTF-16 input should be converted to IDN
    http://\u4f60\u597d\u4f60\u597d  s:http p:/ h:xn--6qqa088eba
    
    # Invalid escaped characters should fail and the percents should be
    # escaped. https://www.w3.org/Bugs/Public/show_bug.cgi?id=24191
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top