Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 722 for setting (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/SettingsTest.kt

        settings[Settings.ENABLE_PUSH] = 1
        assertThat(settings.getEnablePush(false)).isTrue()
        settings.clear()
        assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE)
        settings[Settings.MAX_CONCURRENT_STREAMS] = 75
        assertThat(settings.getMaxConcurrentStreams()).isEqualTo(75)
        settings.clear()
        assertThat(settings.getMaxFrameSize(16384)).isEqualTo(16384)
        settings[Settings.MAX_FRAME_SIZE] = 16777215
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

      }
    
      /** Merges [settings] into this peer's settings and sends them to the remote peer. */
      @Throws(IOException::class)
      fun setSettings(settings: Settings) {
        writer.withLock {
          withLock {
            if (isShutdown) {
              throw ConnectionShutdownException()
            }
            okHttpSettings.merge(settings)
          }
          writer.settings(settings)
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderResult.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.settings.Settings;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface SettingsBuilderResult extends Result<SettingsBuilderRequest> {
    
        /**
         * Gets the assembled settings.
         *
         * @return the assembled settings, never {@code null}
         */
        @Nonnull
        Settings getEffectiveSettings();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          }
    
        /**
         * When [protocols][MockWebServer.protocols] include [HTTP_2][okhttp3.Protocol], this pushes
         * [settings] before writing the response.
         */
        public fun settings(settings: Settings): Builder =
          apply {
            this.settings_.clear()
            this.settings_.merge(settings)
          }
    
        /**
         * Attempts to perform a web socket upgrade on the connection.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

      fun withPush(promise: PushPromise) =
        apply {
          promises.add(promise)
        }
    
      fun withSettings(settings: Settings) =
        apply {
          this.settings = settings
        }
    
      fun withWebSocketUpgrade(listener: WebSocketListener) =
        apply {
          status = "HTTP/1.1 101 Switching Protocols"
          setHeader("Connection", "Upgrade")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * Collects settings that control the building of effective settings.
     */
    @Experimental
    @Immutable
    public interface SettingsBuilderRequest extends Request<ProtoSession> {
    
        /**
         * Gets the installation settings source.
         *
         * @return the installation settings source or {@code null} if none
         */
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java

    import org.apache.maven.api.settings.Settings;
    
    /**
     * Builds the effective settings from a user settings file and/or an installation settings file.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface SettingsBuilder extends Service {
    
        /**
         * Builds the effective settings of the specified settings files.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

        }
    
        @Override
        public Settings buildSettings() throws IOException, XmlPullParserException {
            File userSettingsFile = getFile(
                    "${user.home}/.m2/settings.xml", "user.home", MavenSettingsBuilder.ALT_USER_SETTINGS_XML_LOCATION);
    
            return buildSettings(userSettingsFile);
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        var pushPromises: List<PushPromise> = mockResponse.pushPromises
        pushPromises = mockResponse.pushPromises
        mockResponse = mockResponse.withSettings(Settings())
        var settings: Settings = mockResponse.settings
        settings = mockResponse.settings
        mockResponse =
          mockResponse.withWebSocketUpgrade(
            object : WebSocketListener() {
            },
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/settings/MavenSettingsBuilder.java

        String ALT_GLOBAL_SETTINGS_XML_LOCATION = "org.apache.maven.global-settings";
        String ALT_LOCAL_REPOSITORY_LOCATION = "maven.repo.local";
    
        Settings buildSettings(MavenExecutionRequest request) throws IOException, XmlPullParserException;
    
        /**
         * @return a <code>Settings</code> object from the user settings file.
         * @throws IOException if any
         * @throws XmlPullParserException if any
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top