Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 46 of 46 for toURI (0.13 sec)

  1. maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

        }
    
        public ArtifactRepository createLocalRepository(File localRepository) throws InvalidRepositoryException {
            return createRepository(
                    "file://" + localRepository.toURI().getRawPath(),
                    MavenRepositorySystem.DEFAULT_LOCAL_REPO_ID,
                    true,
                    ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS,
                    true,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                moduleFile = moduleFile.getAbsoluteFile();
                            }
                        } else {
                            moduleFile = new File(moduleFile.toURI().normalize());
                        }
    
                        if (aggregatorFiles.contains(moduleFile)) {
                            StringBuilder buffer = new StringBuilder(256);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  4. 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 {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/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(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/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()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
Back to top