Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 76 of 76 for toURI (0.63 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        /* MNG-3760*/
        @Test
        void testInterpolationOfBaseUri() throws Exception {
            PomTestWrapper pom = buildPom("baseuri-interpolation/pom.xml");
            assertNotEquals(
                    pom.getBasedir().toURI().toString(),
                    pom.getValue("properties/prop1").toString());
        }
    
        /* MNG-6386 */
        @Test
        void testInterpolationOfRfc3986BaseUri() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    true, ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS, ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE);
            return new MavenArtifactRepository(
                    "local", "file://" + baseDirectory.toUri().getRawPath(), layout, blah, blah);
        }
    
        protected void populateRequestFromSettings(MavenExecutionRequest request, Settings settings) throws Exception {
            if (settings == null) {
                return;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun httpUrl() {
        val httpUrl: HttpUrl = "".toHttpUrl()
        val isHttps: Boolean = httpUrl.isHttps
        val url: URL = httpUrl.toUrl()
        val uri: URI = httpUrl.toUri()
        val scheme: String = httpUrl.scheme
        val encodedUsername: String = httpUrl.encodedUsername
        val username: String = httpUrl.username
        val encodedPassword: String = httpUrl.encodedPassword
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 47K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                for (File file : extClassPath) {
                    slf4jLogger.debug("  included '{}'", file);
    
                    extRealm.addURL(file.toURI().toURL());
                }
    
                for (CoreExtensionEntry entry : reverse(extensions)) {
                    Set<String> exportedPackages = entry.getExportedPackages();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

          ),
        )
        assertContent("This is the 2nd server!", getResponse(newRequest("/a")))
        assertThat(proxySelectionRequests).isEqualTo(
          listOf(
            server.url("/").toUrl().toURI(),
            server2.url("/").toUrl().toURI(),
          ),
        )
      }
    
      @Test
      fun redirectWithAuthentication() {
        server2.enqueue(
          MockResponse(body = "Page 2"),
        )
        server.enqueue(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        cookie.domain = server.hostName
        cookie.path = "/"
        val portList = server.port.toString()
        cookie.portlist = portList
        cookieManager.cookieStore.add(server.url("/").toUri(), cookie)
        client =
          client
            .newBuilder()
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
        val response = client.newCall(Request(server.url("/page1"))).execute()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
Back to top