Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 924 for builder2 (0.12 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderResult.java

         * {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause
         * the settings builder to fail with a {@link SettingsBuilderException}.
         *
         * @return the problems that were encountered during the settings building, can be empty but never {@code null}
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java

         * {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause
         * the settings builder to fail with a {@link ToolchainsBuilderException}.
         *
         * @return the problems that were encountered during the settings building, can be empty but never {@code null}
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

    import java.io.IOException
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class AccessHeaders {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request.Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
            .header("User-Agent", "OkHttp Headers.java")
            .addHeader("Accept", "application/json; q=0.5")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. api/maven-api-settings/src/site/apt/index.apt

     This is strictly the immutable model for Maven settings in <<<org.apache.maven.api.settings>>> package.
    
     The following are generated from this model:
    
       * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation.
    
     See also corresponding {{{../../maven-settings/index.html}Maven classical settings model documentation}}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Dec 31 16:32:07 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

          cacheCandidate.body.closeQuietly()
        }
    
        // If we're forbidden from using the network and the cache is insufficient, fail.
        if (networkRequest == null && cacheResponse == null) {
          return Response.Builder()
            .request(chain.request())
            .protocol(Protocol.HTTP_1_1)
            .code(HTTP_GATEWAY_TIMEOUT)
            .message("Unsatisfiable Request (only-if-cached)")
            .sentRequestAtMillis(-1L)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

        sendRequest(client, "https://google.com/robots.txt");
      }
    
      private void sendRequest(OkHttpClient client, String url) throws IOException {
        Request request = new Request.Builder()
                .url(url)
                .build();
        try (Response response = client.newCall(request).execute()) {
          assertTrue(response.code() == 200 || response.code() == 404);
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jul 26 06:37:08 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

            Model model = new Model();
            Build build = new Build();
            build.setOutputDirectory("myOutputDirectory");
            model.setBuild(build);
            Build build2 = model.getBuild();
            assertNotNull(build2);
            assertEquals("myOutputDirectory", build2.getOutputDirectory());
            model.setBuild(null);
            assertNull(model.getBuild());
        }
    
        @Test
        void testEqualsNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Headers.kt

     * dates.
     *
     * This class trims whitespace from values. It never returns values with leading or trailing
     * whitespace.
     *
     * Instances of this class are immutable. Use [Builder] to create instances.
     */
    @Suppress("NAME_SHADOWING")
    class Headers internal constructor(
      internal val namesAndValues: Array<String>,
    ) : Iterable<Pair<String, String>> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/BouncyCastleTest.kt

        this.server = server
        OkHttpDebugLogging.enable("org.bouncycastle.jsse")
        platform.assumeBouncyCastle()
      }
    
      @Test
      fun testMozilla() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. android-test/build.gradle.kts

    android {
      compileSdk = 34
    
      namespace = "okhttp.android.test"
    
      defaultConfig {
        minSdk = 21
    
        // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
        testInstrumentationRunnerArguments += mapOf(
          "runnerBuilder" to "de.mannodermaus.junit5.AndroidJUnit5Builder",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top