Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,019 for curl (0.02 sec)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

            assertArgumentNotEmpty("path", path);
            assertArgumentNotEmpty("encoding", encoding);
    
            final URL url = ResourceUtil.getResource(path);
            if (url.getProtocol().equals("file")) {
                return readText(URLUtil.toFile(url), encoding);
            }
            final InputStream is = URLUtil.openStream(url);
            try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/PropertiesUtil.java

        }
    
        /**
         * Loads the specified {@link URL} into the {@link Properties} (wraps exception handling).
         *
         * @param props
         *            Property set. Must not be {@literal null}.
         * @param url
         *            URL. Must not be {@literal null}.
         */
        public static void load(final Properties props, final URL url) {
            assertArgumentNotNull("props", props);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

         */
        private String priority;
    
        /**
         * Returns the location URL of this sitemap entry.
         * @return the location URL
         */
        @Override
        public String getLoc() {
            return loc;
        }
    
        /**
         * Sets the location URL of this sitemap entry.
         * @param loc the location URL to set
         */
        public void setLoc(final String loc) {
            this.loc = loc;
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Handler.java

    package jcifs.smb1.smb1;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    /**
     * URL handler for SMB1 protocol URLs.
     */
    public class Handler extends URLStreamHandler {
    
        static final URLStreamHandler SMB_HANDLER = new Handler();
    
        /**
         * Default constructor for SMB1 URL handler.
         */
        public Handler() {
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

            NullPointerException e = assertThrows(
                    NullPointerException.class, () -> new UrlSource(null), "Should fail, since you must specify a url");
            assertEquals("url cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            URL txtFile = new File("target/test-classes/source.txt").toURI().toURL();
            UrlSource source = new UrlSource(txtFile);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/Config.java

        /**
         * This static method registers the SMB URL protocol handler which is
         * required to use SMB URLs with the <code>java.net.URL</code> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
         * <blockquote><pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.&lt;init&gt;(URL.java:480)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

                        final Map<String, Object> doc = hit.getSourceAsMap();
                        final String url = DocumentUtil.getValue(doc, fessConfig.getIndexFieldUrl(), String.class);
                        if (StringUtil.isNotBlank(url)) {
                            final Set<String> labelSet = labelTypeHelper.getMatchedLabelValueSet(url);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt

        .Builder()
        .connectionSpecs(listOf(*specs))
        .build()
    
    private fun sendRequest(
      client: OkHttpClient,
      url: String,
    ) {
      System.out.printf("%-40s ", url)
      System.out.flush()
      println(Platform.get())
      val request =
        Request
          .Builder()
          .url(url)
          .build()
      try {
        client.newCall(request).execute().use { response ->
          val handshake = response.handshake
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. cmd/endpoint.go

    }
    
    // SetDiskIndex sets a specific disk number to this node
    func (endpoint *Endpoint) SetDiskIndex(i int) {
    	endpoint.DiskIdx = i
    }
    
    func isValidURLEndpoint(u *url.URL) bool {
    	// URL style of endpoint.
    	// Valid URL style endpoint is
    	// - Scheme field must contain "http" or "https"
    	// - All field should be empty except Host and Path.
    	isURLOk := (u.Scheme == "http" || u.Scheme == "https") &&
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

                }
                logger.warn("Failed to store a failure url.", e);
            }
    
            super.processCrawlingException(objs);
            if (objs.length > 1 && objs[1] instanceof final UrlQueue<?> urlQueue) {
                ComponentUtil.getCrawlerStatsHelper().record(urlQueue, StatsAction.ACCESS_EXCEPTION);
            }
        }
    
        /**
         * Stores a failure URL with error information for later analysis.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top