Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Jetty (0.05 sec)

  1. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import org.eclipse.jetty.client.HttpClient
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    /**
     * Jetty HTTP client.
     *
     * https://www.eclipse.org/jetty/documentation/current/http-client.html
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. buildSrc/src/main/kotlin/AlpnVersions.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.
     */
    
    // https://www.eclipse.org/jetty/documentation/current/alpn-chapter.html#alpn-versions
    private fun alpnBootVersionForPatchVersion(patchVersion: Int): String? =
      when (patchVersion) {
        in 0..24 -> "8.1.0.v20141016"
        in 25..30 -> "8.1.2.v20141202"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

    import java.lang.reflect.InvocationTargetException
    import java.lang.reflect.Method
    import java.lang.reflect.Proxy
    import javax.net.ssl.SSLSocket
    import okhttp3.Protocol
    
    /** OpenJDK 8 with `org.mortbay.jetty.alpn:alpn-boot` in the boot class path. */
    class Jdk8WithJettyBootPlatform(
      private val putMethod: Method,
      private val getMethod: Method,
      private val removeMethod: Method,
      private val clientProviderClass: Class<*>,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. okhttp/build.gradle.kts

      val alpnBootVersion = alpnBootVersion()
      if (alpnBootVersion != null) {
        val alpnBootJar = configurations.detachedConfiguration(
          dependencies.create("org.mortbay.jetty.alpn:alpn-boot:$alpnBootVersion")
        ).singleFile
        tasks.withType<Test> {
          jvmArgs("-Xbootclasspath/p:${alpnBootJar}")
        }
      }
    }
    
    android {
      compileSdk = 35
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 03:59:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          @JvmStatic
          fun bouncycastle() = PlatformRule(BOUNCYCASTLE_PROPERTY)
    
          @JvmStatic
          fun isAlpnBootEnabled(): Boolean =
            try {
              Class.forName("org.eclipse.jetty.alpn.ALPN", true, null)
              true
            } catch (cnfe: ClassNotFoundException) {
              false
            }
    
          val isCorrettoSupported: Boolean =
            try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  6. docs/changelogs/changelog_4x.md

     [fun_interface]: https://kotlinlang.org/docs/reference/fun-interfaces.html
     [iana_websocket]: https://www.iana.org/assignments/websocket/websocket.txt
     [jetty_8_252]: https://webtide.com/jetty-alpn-java-8u252/
     [kotlin_1_3_71]: https://github.com/JetBrains/kotlin/releases/tag/v1.3.71
     [kotlin_1_4_10]: https://github.com/JetBrains/kotlin/releases/tag/v1.4.10
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_2x.md

     *  Fix: Cache 302s and 308s that include appropriate response headers.
     *  Fix: Improve pooling of connections that use proxy selectors.
     *  Fix: Don't leak connections when using ALPN on the desktop.
     *  Fix: Update Jetty ALPN to `7.1.2.v20141202` (Java 7) and `8.1.2.v20141202` (Java 8).
        This fixes a bug in resumed TLS sessions where the wrong protocol could be
        selected.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_3x.md

     [https_server_sample]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java
     [jetty_8_252]: https://webtide.com/jetty-alpn-java-8u252/
     [junit_5_rules]: https://junit.org/junit5/docs/current/user-guide/#migrating-from-junit4-rulesupport
     [major_versions]: https://jakewharton.com/java-interoperability-policy-for-major-version-updates/
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  9. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

    /*
     * Copyright 2016 The Netty Project
     *
     * The Netty Project licenses this file to you under the Apache License, version 2.0 (the
     * "License"); you may not use this file except in compliance with the License. You may obtain a
     * copy of the License at:
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software distributed under the License
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. src/main/assemblies/files/fess.in.sh

    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:+UseG1GC"
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:InitiatingHeapOccupancyPercent=75"
    
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dio.netty.noUnsafe=true"
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dio.netty.noKeySetOptimization=true"
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dio.netty.recycler.maxCapacityPerThread=0"
    
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dlog4j.shutdownHookEnabled=false"
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dlog4j2.disable.jmx=true"
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top