Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for parseRequest (0.05 sec)

  1. android/guava/src/com/google/common/primitives/ParseRequest.java

    /** A string to be parsed as a number and the radix to interpret it in. */
    @GwtCompatible
    final class ParseRequest {
      final String rawValue;
      final int radix;
    
      private ParseRequest(String rawValue, int radix) {
        this.rawValue = rawValue;
        this.radix = radix;
      }
    
      static ParseRequest fromString(String stringValue) {
        if (stringValue.length() == 0) {
          throw new NumberFormatException("empty string");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                        return;
                    }
                    try {
                        List<FileItem> multiparts = new ServletFileUpload(new DiskFileItemFactory()).parseRequest(request);
                        for (FileItem item : multiparts) {
                            if (!item.isFormField()) {
                                // item is not form field.
                            } else {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

        }
    
        @Override
        protected Parser createParser() {
            return new EncryptParser();
        }
    
        @Override
        protected ParserRequest.Builder createParserRequestBuilder(String[] args) {
            return ParserRequest.mvnenc(args, createMessageBuilderFactory());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenShellCling.java

        }
    
        @Override
        protected Parser createParser() {
            return new ShellParser();
        }
    
        @Override
        protected ParserRequest.Builder createParserRequestBuilder(String[] args) {
            return ParserRequest.mvnsh(args, createMessageBuilderFactory());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java

     *
     * @since 4.0.0
     */
    @Experimental
    public interface Parser {
        /**
         * Parses the given ParserRequest to create an {@link InvokerRequest}.
         * This method does interpret tool arguments.
         *
         * @param parserRequest the request containing all necessary information for parsing
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

            when(request.systemProperties()).thenReturn(Map.of());
            when(request.options()).thenReturn(Optional.ofNullable(options));
    
            // Mock parserRequest and logger
            ParserRequest parserRequest = mock(ParserRequest.class);
            Logger logger = mock(Logger.class);
    
            // Capture error messages for debugging
            doAnswer(invocation -> {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java

    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.api.cli.ParserRequest;
    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    import static java.util.Objects.requireNonNull;
    
    public class BaseInvokerRequest implements InvokerRequest {
        private final ParserRequest parserRequest;
        private final boolean parsingFailed;
        private final Path cwd;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

    @Experimental
    public interface InvokerRequest {
        /**
         * The parser request this instance was created from.
         */
        @Nonnull
        ParserRequest parserRequest();
    
        /**
         * Flag representing parser processing result: if there were some fatal errors during
         * {@link Parser#parseInvocation(ParserRequest)} this method will return {@code true} and invoker should
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java

        }
    
        @Override
        protected Parser createParser() {
            return new MavenParser();
        }
    
        @Override
        protected ParserRequest.Builder createParserRequestBuilder(String[] args) {
            return ParserRequest.mvn(args, createMessageBuilderFactory());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

                            "test", context.parserRequest.args().toArray(new String[0]));
                } catch (ParseException e) {
                    throw new IllegalArgumentException(e);
                }
            }
        };
    
        @Test
        void happy() {
            InvokerRequest invokerRequest =
                    subject.parseInvocation(ParserRequest.mvn(Arrays.asList("-e", "-X"), mock(MessageBuilderFactory.class))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top