Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 136 for getPath (0.04 seconds)

  1. mockwebserver/api/mockwebserver3.api

    	public fun <init> (Ljava/lang/String;Ljava/lang/String;Lokhttp3/Headers;Lmockwebserver3/MockResponse;)V
    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getMethod ()Ljava/lang/String;
    	public final fun getPath ()Ljava/lang/String;
    	public final fun getResponse ()Lmockwebserver3/MockResponse;
    }
    
    public class mockwebserver3/QueueDispatcher : mockwebserver3/Dispatcher {
    	public fun <init> ()V
    	public fun clear ()V
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(ArtifactManager.class).getPath(...)}.
         *
         * @param artifact the artifact for which to get a path
         * @return path associated to the given artifact
         *
         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
         */
        @Nonnull
        Optional<Path> getArtifactPath(@Nonnull Artifact artifact);
    
        /**
    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)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                        modelRequest.setPomFile(pomArtifact.getFile());
                    } else {
                        modelRequest.setModelSource(new ArtifactModelSource(
                                pomArtifact.getPath(),
                                pomArtifact.getGroupId(),
                                pomArtifact.getArtifactId(),
                                pomArtifact.getVersion()));
                    }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  4. architecture/standards/0006-use-of-provider-apis-in-gradle.md

        }
    }
    ```
    
    You should prefer to use managed types when possible. 
    
    #### Identity information 
    
    This is an inappropriate use of lazy types:
    
    ```groovy
    class Example {
        Provider<String> getPath() {
            return project.provider(() -> path)
        }
    }
    ```
    
    Like above, this is an immutable part of the identity of the domain object and cannot be changed.
    
    ### Properties in entirely new classes
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Oct 15 20:00:57 GMT 2024
    - 10K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * @return an Optional containing the path to the built artifact if available,
         *         or empty if the artifact hasn't been built yet
         */
        @Nonnull
        Optional<Path> getPath(@Nonnull Project project);
    
        /**
         * Returns an immutable collection of attached artifacts for the given project.
         * Attached artifacts are secondary artifacts produced during the build (e.g., sources jar,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                if (f != null && scopeFilter.test(a.getScope())) {
                    final ArtifactHandler h = a.getArtifactHandler();
                    if (h.isAddedToClasspath()) {
                        list.add(f.getPath());
                    }
                }
            }
            return list;
        }
    
        /**
         * Returns the elements placed on the classpath for compilation.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), classifier, extension);
            try {
                // Log nothing as creating links should be very fast.
                Path source = artifact.getPath();
                if (!(Files.isRegularFile(target) && Files.isSameFile(source, target))) {
                    Files.createDirectories(target.getParent());
                    try {
                        Files.deleteIfExists(target);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

        }
    
        private List<Artifact> toMavenArtifacts(DependencyResult dependencyResult) {
            return dependencyResult.getDependencyNodeResults().stream()
                    .filter(n -> n.getArtifact().getPath() != null)
                    .map(n -> RepositoryUtils.toArtifact(n.getDependency()))
                    .toList();
        }
    
        private Map<String, ClassLoader> calcImports(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     *
     * ```java
     * String attack = "http://example.com/static/images/../../../../../etc/passwd";
     * System.out.println(new URL(attack).getPath());
     * System.out.println(new URI(attack).getPath());
     * System.out.println(HttpUrl.parse(attack).encodedPath());
     * ```
     *
     * By canonicalizing the input paths, they are complicit in directory traversal attacks. Code that
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 63.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

     throws java.io.IOException; public static String removeExtension(String); public static String getExtension(String); public static String removePath(String); public static String removePath(String, char); public static String getPath(String); public static String getPath(String, char); public static void copyFileToDirectory(String, String) throws java.io.IOException; public static void copyFileToDirectory(java.io.File, java.io.File) throws java.io.IOException; public static void copyFile(java.io.File,...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 164.6K bytes
    - Click Count (0)
Back to Top