Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2541 - 2550 of 4,859 for classic (0.04 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

    import okhttp3.Call;
    import okhttp3.Callback;
    import okhttp3.Headers;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.ResponseBody;
    
    public final class AsynchronousGet {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadataRetrievalException.java

     */
    package org.apache.maven.artifact.metadata;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Error while retrieving repository metadata from the repository - deprecated
     */
    @Deprecated
    public class ArtifactMetadataRetrievalException
            extends org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException {
    
        /**
         * @param message a message
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/UnresolvedArtifacts.java

    /**
     * A simple recording of the Artifacts that could not be resolved for a given resolution request, along with
     * the remote repositories where attempts were made to resolve the artifacts.
     *
     */
    @Deprecated
    public class UnresolvedArtifacts {
        private Artifact originatingArtifact;
    
        private List<Artifact> artifacts;
    
        private List<ArtifactRepository> remoteRepositories;
    
        public UnresolvedArtifacts(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParserException.java

     * under the License.
     */
    package org.apache.maven.api.spi;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.MavenException;
    
    @Experimental
    public class ModelParserException extends MavenException {
    
        /**
         * The one-based index of the line containing the error.
         */
        private final int lineNumber;
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Sep 22 07:25:10 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolver.java

     * declaration that has the least transitive steps away from the project being built.
     *
     * @since 3.0
     */
    @Named("nearest")
    @Singleton
    @Deprecated
    public class NearestConflictResolver implements ConflictResolver {
        // ConflictResolver methods -----------------------------------------------
    
        /*
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link AndArtifactFilter}.
     *
     */
    class AndArtifactFilterTest {
    
        private ArtifactFilter newSubFilter() {
            return artifact -> false;
        }
    
        @Test
        void testEquals() {
            AndArtifactFilter filter1 = new AndArtifactFilter();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/BaseObject.java

     * under the License.
     */
    package org.apache.maven.toolchain.model;
    
    import java.io.Serializable;
    
    import static java.util.Objects.requireNonNull;
    
    public abstract class BaseObject implements Serializable, Cloneable {
        protected transient ChildrenTracking childrenTracking;
    
        protected Object delegate;
    
        public BaseObject() {}
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/collector/RequestPomCollectionStrategy.java

    /**
     * Strategy to collect projects based on the <code>-f</code> CLI parameter or the pom.xml in the working directory.
     */
    @Named("RequestPomCollectionStrategy")
    @Singleton
    public class RequestPomCollectionStrategy implements ProjectCollectionStrategy {
        private final ProjectsSelector projectsSelector;
    
        @Inject
        public RequestPomCollectionStrategy(ProjectsSelector projectsSelector) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/EarLifecycleMappingProvider.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    /**
     * {@code ear} packaging plugins bindings provider for {@code default} lifecycle.
     */
    @Named("ear")
    @Singleton
    public final class EarLifecycleMappingProvider extends AbstractLifecycleMappingProvider {
        // START SNIPPET: ear
        private static final String[] BINDINGS = {
            "generate-resources",
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginResolutionException.java

    package org.apache.maven.plugin;
    
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.maven.model.Plugin;
    
    /**
     * Exception occurring trying to resolve a plugin.
     *
     */
    public class PluginResolutionException extends Exception {
    
        private final Plugin plugin;
    
        public PluginResolutionException(Plugin plugin, Throwable cause) {
            super(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top