Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for requestType (0.15 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

                throws MetadataResolutionException, GraphConflictResolutionException {
            if (requestType == null) {
                return null;
            }
    
            if (treeRoot == null) {
                return null;
            }
    
            if (conflictResolver == null) {
                return null;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

         */
        public void setRequestType(final int requestType) {
            switch (requestType) {
                case REQUEST_PUT:
                    break;
                case REQUEST_GET:
                    break;
                default:
                    throw new IllegalArgumentException("Illegal request type: " + requestType);
            }
    
            this.requestType = requestType;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

        }
    
        @Override
        public void transferInitiated(TransferEvent event) {
            String action = event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploading" : "Downloading";
            String direction = event.getRequestType() == TransferEvent.RequestType.PUT ? "to" : "from";
    
            TransferResource resource = event.getResource();
            MessageBuilder message = messageBuilderFactory.builder();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

        }
    
        @Override
        public void transferInitiated(TransferEvent event) {
            String action = event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploading" : "Downloading";
            String direction = event.getRequestType() == TransferEvent.RequestType.PUT ? "to" : "from";
    
            TransferResource resource = event.getResource();
            StringBuilder message = new StringBuilder();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

            this.out = (out != null) ? out : System.out;
        }
    
        @Override
        public void transferInitiated(TransferEvent event) {
            String message = event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploading" : "Downloading";
    
            println(
                    "transferInitiated",
                    message + ": " + event.getResource().getRepositoryUrl()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            InternalSession iSession = InternalSession.from(session);
            ModelBuilderRequest.ModelBuilderRequestBuilder request = ModelBuilderRequest.builder();
            request.requestType(ModelBuilderRequest.RequestType.CONSUMER_POM);
            request.session(iSession);
            // in order to resolve parents, we need to fake being at the correct location
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top