Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 305 for Upgrade (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

      }
    
      @Test
      fun upgradeHttps() {
        enableTls(Protocol.HTTP_1_1)
        upgrade()
      }
    
      @Test
      fun upgradeRefusedByServer() {
        server.enqueue(MockResponse(body = "normal request"))
        val requestWithUpgrade =
          Request
            .Builder()
            .url(server.url("/"))
            .header("Connection", "upgrade")
            .build()
        client.newCall(requestWithUpgrade).execute().use { response ->
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                                || description.toLowerCase().contains("upgrade"),
                        "Description should mention model or upgrade");
            }
        }
    
        @Nested
        @DisplayName("Phase Upgrades")
        class PhaseUpgradeTests {
    
            @Test
            @DisplayName("should upgrade deprecated phases to Maven 4 equivalents in 4.1.0")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 38.8K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

            this.strategies = strategies;
        }
    
        /**
         * Executes all applicable upgrade strategies in priority order.
         * Each strategy is checked for applicability before execution.
         *
         * @param context the upgrade context
         * @param pomMap map of all POM files in the project
         * @return the overall result of all strategy executions
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

     * </pre>
     */
    public interface UpgradeStrategy {
    
        /**
         * Applies the upgrade strategy to all eligible POMs.
         *
         * @param context the upgrade context
         * @param pomMap map of all POM files in the project (domtrip Documents)
         * @return the result of the upgrade operation
         */
        UpgradeResult apply(UpgradeContext context, Map<Path, Document> pomMap);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. CHANGELOG.md

        `StrictMode` to detect if your `OkHttpClient` is being initialized on the main thread.
    
     *  Upgrade: [Okio 3.12.0][okio_3_12_0].
    
     *  Upgrade: [Kotlin 2.1.21][kotlin_2_1_21].
    
     *  Upgrade: [kotlinx.coroutines 1.10.2][coroutines_1_10_2]. This is used by the optional
        `okhttp-coroutines` artifact.
    
     *  Upgrade: [AndroidX Startup 1.2.0][startup_1_2_0]. The Android variant of the `okhttp` artifact
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/package-info.java

     * under the License.
     */
    
    /**
     * Provides the API for the Maven Upgrade tool ({@code mvnup}).
     *
     * <p>This package contains interfaces and classes for the Maven upgrade tool,
     * which provides functionality for upgrading Maven projects and dependencies.</p>
     *
     * <p>Key features include:</p>
     * <ul>
     *   <li>Project upgrade capabilities</li>
     *   <li>Dependency version management</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

        }
    
        /**
         * Creates upgrade options with only the --all flag set.
         *
         * @param all the --all option value
         * @return configured upgrade options
         */
        public static UpgradeOptions createOptionsWithAll(boolean all) {
            return createOptions(all, null, null, null, null);
        }
    
        /**
         * Creates upgrade options with only the --model-version option set.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

        }
    
        /**
         * Subclasses implement the actual upgrade logic here.
         *
         * @param context the upgrade context
         * @param pomMap map of all POM files in the project
         * @return the result of the upgrade operation
         */
        protected abstract UpgradeResult doApply(UpgradeContext context, Map<Path, Document> pomMap);
    
        /**
         * Gets the upgrade options from the context.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

          ProtocolException::class.java,
          "Expected 'Upgrade' header value 'websocket' but was 'null'",
        )
        webSocket.cancel()
      }
    
      @Test
      @Throws(IOException::class)
      fun wrongUpgradeHeader() {
        webServer.enqueue(
          MockResponse
            .Builder()
            .code(101)
            .setHeader("Connection", "Upgrade")
            .setHeader("Upgrade", "Pepsi")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

          }
    
          val isUpgradeResponse =
            isUpgradeCode &&
              "upgrade".equals(response.header("Connection"), ignoreCase = true)
    
          response =
            when {
              // This is an HTTP/1 upgrade. (This case includes web socket upgrades.)
              isUpgradeRequest && isUpgradeResponse -> {
                response
                  .newBuilder()
                  .body(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top