Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 71 for precedence (0.06 seconds)

  1. internal/handlers/proxy_test.go

    			xForwardedFor: []string{"8.8.8.8"},
    			xRealIP:       []string{"1.1.1.1"},
    		},
    	}
    	// When X-Forwarded-For and X-Real-IP headers are both present, X-Forwarded-For takes precedence.
    	res := GetSourceIP(req)
    	if res != "8.8.8.8" {
    		t.Errorf("wrong header, xff takes precedence: got %s, want: 8.8.8.8", res)
    	}
    
    	// When explicitly disabled, the XFF header is ignored and X-Real-IP is used.
    	enableXFFHeader = false
    	defer func() {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PrecedenceCoreExtensionSelector.java

                    context, context.invokerRequest.coreExtensions().orElseThrow());
        }
    
        /**
         * Selects extensions to load discovered from various sources by precedence ("first wins"), as
         * {@link InvokerRequest#coreExtensions()} is in precedence order. Also reports conflicts, if any.
         * Finally, at DEBUG level reports configured vs selected extensions.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 15:32:43 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         * {@link CoreExtensions} is validated, but the list elements may have overlapping elements, that requires
         * some logic to sort out (like precedence).
         * <p>
         * The list of {@link CoreExtensions} if present, is in precedence order.
         *
         * @return an {@link Optional} containing the {@link CoreExtensions}, or empty if not configured
         */
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java

        File getGlobalSettingsFile();
    
        /**
         * Sets the global settings file. A non-existent settings file is equivalent to empty settings. If both user
         * settings and global settings are given, the user settings take precedence.
         *
         * @param globalSettingsFile The global settings file, may be {@code null} to disable global settings.
         * @return This request, never {@code null}.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingRequest.java

         */
        Source getGlobalToolchainsSource();
    
        /**
         * Sets the global toolchains source. If both user toolchains and a global toolchains are given, the user toolchains
         * take precedence.
         *
         * @param globalToolchainsSource The global toolchains source, may be {@code null} to disable global toolchains.
         * @return This request, never {@code null}.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt

     * limitations under the License.
     */
    package okhttp3.survey
    
    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    
    /**
     * Organizes information on SSL cipher suite inclusion and precedence for this spreadsheet.
     * https://docs.google.com/spreadsheets/d/1C3FdZSlCBq_-qrVwG1KDIzNIB3Hyg_rKAcgmSzOsHyQ/edit#gid=0
     */
    class CipherSuiteSurvey(
      val clients: List<Client>,
      val ianaSuites: IanaSuites,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java

            assertThrows(InvokerException.class, () -> invoke(cwd, userHome, List.of("validate"), List.of()));
        }
    
        /**
         * In case of conflict spanning different sources, precedence is applied: project > user > installation.
         */
        @Test
        void conflictingExtensionsFromDifferentSource(
                @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path cwd,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

         */
        enum RepositoryMerging {
    
            /**
             * The repositories declared in the POM have precedence over the repositories specified in the request.
             */
            POM_DOMINANT,
    
            /**
             * The repositories specified in the request have precedence over the repositories declared in the POM.
             */
            REQUEST_DOMINANT,
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

         */
        enum RepositoryMerging {
    
            /**
             * The repositories declared in the POM have precedence over the repositories specified in the request.
             */
            POM_DOMINANT,
    
            /**
             * The repositories specified in the request have precedence over the repositories declared in the POM.
             */
            REQUEST_DOMINANT,
        }
    
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * defined precedence onto each other to achieve proper precedence. Precedence is defined as:
         * <ul>
         *     <li>System properties (lowest precedence)</li>
         *     <li>Project properties (optional)</li>
         *     <li>User properties (highest precedence)</li>
         * </ul>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
Back to Top