Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,019 for curl (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

      @Test
      fun constructor() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
            method = method,
            body = body,
          )
        assertThat(request.url).isEqualTo(url)
        assertThat(request.headers).isEqualTo(headers)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

                String id, String url, String layoutId, boolean uniqueVersion) throws UnknownRepositoryLayoutException {
            return injectSession(factory.createDeploymentArtifactRepository(id, url, layoutId, uniqueVersion), false);
        }
    
        @Override
        public ArtifactRepository createDeploymentArtifactRepository(
                String id, String url, ArtifactRepositoryLayout repositoryLayout, boolean uniqueVersion) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/UrlConvertHelperTest.java

            assertEquals("http://hoge.com/peke.html", urlConvertHelper.convert(url));
        }
    
        public void test_convert_null() {
            String url;
    
            url = null;
            assertNull(urlConvertHelper.convert(url));
    
            url = "";
            assertEquals("", urlConvertHelper.convert(url));
    
            url = " ";
            assertEquals(" ", urlConvertHelper.convert(url));
    
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/net/URLUtil.java

         *
         * @param url
         *            The URL. Must not be {@literal null}.
         * @return A {@link URLConnection} object to the URL.
         */
        public static URLConnection openConnection(final URL url) {
            assertArgumentNotNull("url", url);
    
            try {
                final URLConnection connection = url.openConnection();
                connection.setUseCaches(false);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

         *
         * @param url The file, must not be {@code null}.
         */
        public UrlSource(URL url) {
            this.url = Objects.requireNonNull(url, "url cannot be null");
            this.hashCode = Objects.hashCode(url);
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return url.openStream();
        }
    
        @Override
        public String getLocation() {
            return url.toString();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

          MockResponse
            .Builder()
            .body("abc")
            .doNotReadRequestBody()
            .build(),
        )
    
        val call =
          client.newCall(
            Request(
              url = server.url("/"),
              body = SlowRequestBody,
            ),
          )
    
        call.execute().use { response ->
          assertThat(response.body.string()).isEqualTo("abc")
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/TraversalUtil.java

         *
         * @param url
         *            The URL representing the file.
         * @param baseName
         *            The base name.
         * @return The base directory above the root package.
         */
        protected static File getBaseDir(final URL url, final String baseName) {
            assertArgumentNotNull("url", url);
    
            File file = URLUtil.toFile(url);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlFilterService.java

    /**
     * Service interface for managing URL filters.
     * Provides methods to add and remove include/exclude URL filters,
     * as well as retrieve the patterns of these filters.
     */
    public interface UrlFilterService {
    
        /**
         * Adds a URL to the include filter list for the specified session.
         *
         * @param sessionId the ID of the session for which the URL filter is being added
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlFilter.java

        }
    
        /**
         * Returns the URL.
         * @return The URL.
         */
        public String getUrl() {
            return url;
        }
    
        /**
         * Sets the URL.
         * @param url The URL.
         */
        public void setUrl(final String url) {
            this.url = url;
        }
    
        /**
         * Converts this URL filter to XContent format for OpenSearch indexing.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

       */
      @get:JvmName("fragment") val fragment: String?,
      /** Canonical URL. */
      private val url: String,
    ) {
      val isHttps: Boolean
        get() = scheme == "https"
    
      /** Returns this URL as a [java.net.URL][URL]. */
      @JvmName("url")
      fun toUrl(): URL {
        try {
          return URL(url)
        } catch (e: MalformedURLException) {
          throw RuntimeException(e) // Unexpected!
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
Back to top