Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for UrlNormalizer (0.2 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/UrlNormalizer.java

     * model inheritance.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface UrlNormalizer {
    
        /**
         * Normalizes the specified URL.
         *
         * @param url The URL to normalize, may be {@code null}.
         * @return The normalized URL or {@code null} if the input was {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

    public class StringVisitorModelInterpolator extends AbstractStringBasedModelInterpolator {
        @Inject
        public StringVisitorModelInterpolator(
                PathTranslator pathTranslator, UrlNormalizer urlNormalizer, RootLocator rootLocator) {
            super(pathTranslator, urlNormalizer, rootLocator);
        }
    
        interface InnerInterpolator {
            String interpolate(String value);
        }
    
        @Deprecated
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/UrlNormalizingPostProcessor.java

            expressions.add("project.distributionManagement.site.url");
    
            URL_EXPRESSIONS = expressions;
        }
    
        private UrlNormalizer normalizer;
    
        UrlNormalizingPostProcessor(UrlNormalizer normalizer) {
            this.normalizer = normalizer;
        }
    
        @Override
        public Object execute(String expression, Object value) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java

     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultModelUrlNormalizer implements ModelUrlNormalizer {
    
        private final UrlNormalizer urlNormalizer;
    
        @Inject
        public DefaultModelUrlNormalizer(UrlNormalizer urlNormalizer) {
            this.urlNormalizer = urlNormalizer;
        }
    
        @Override
        public void normalize(Model model, ModelBuildingRequest request) {
            if (model == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

        private final PathTranslator pathTranslator;
        private final UrlNormalizer urlNormalizer;
    
        private final RootLocator rootLocator;
    
        @Inject
        public AbstractStringBasedModelInterpolator(
                PathTranslator pathTranslator, UrlNormalizer urlNormalizer, RootLocator rootLocator) {
            this.pathTranslator = pathTranslator;
            this.urlNormalizer = urlNormalizer;
            this.rootLocator = rootLocator;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/path/DefaultUrlNormalizerTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     */
    class DefaultUrlNormalizerTest {
    
        private UrlNormalizer normalizer = new DefaultUrlNormalizer();
    
        private String normalize(String url) {
            return normalizer.normalize(url);
        }
    
        @Test
        void testNullSafe() {
            assertNull(normalize(null));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

    import org.apache.maven.model.path.ModelUrlNormalizer;
    import org.apache.maven.model.path.PathTranslator;
    import org.apache.maven.model.path.ProfileActivationFilePathInterpolator;
    import org.apache.maven.model.path.UrlNormalizer;
    import org.apache.maven.model.plugin.DefaultPluginConfigurationExpander;
    import org.apache.maven.model.plugin.DefaultReportConfigurationExpander;
    import org.apache.maven.model.plugin.DefaultReportingConverter;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java

    /**
     * Normalizes a URL.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultUrlNormalizer implements UrlNormalizer {
    
        @Override
        public String normalize(String url) {
            String result = url;
    
            if (result != null) {
                while (true) {
                    int idx = result.indexOf("/../");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/site/apt/index.apt

       ** inheritance assembly (see {{{./index.html#Inheritance_Assembly}below}})
    
       ** model interpolation (see {{{./index.html#Model_Interpolation}below}})
    
       ** url normalization: <<<UrlNormalizer>>> ({{{./apidocs/org/apache/maven/model/path/UrlNormalizer.html}javadoc}}),
       with its <<<DefaultUrlNormalizer>>> implementation
       ({{{./xref/org/apache/maven/model/path/DefaultUrlNormalizer.html}source}})
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/pom.xml

                  <exclude>org.apache.maven.model.path.DefaultModelUrlNormalizer#setUrlNormalizer(org.apache.maven.model.path.UrlNormalizer):METHOD_REMOVED</exclude>
                  <exclude>org.apache.maven.model.path.DefaultModelUrlNormalizer#DefaultModelUrlNormalizer():CONSTRUCTOR_REMOVED</exclude>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top