- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 40 for toURI (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
if (route.address.proxy == null && route.proxy.type() != Proxy.Type.DIRECT) { route.address.proxySelector.connectFailed( route.address.url.toUri(), route.proxy.address(), e, ) } user.connectFailed(route, null, e) return ConnectResult(plan = this, throwable = e) } finally {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
if (failedRoute.proxy.type() != Proxy.Type.DIRECT) { val address = failedRoute.address address.proxySelector.connectFailed( address.url.toUri(), failedRoute.proxy.address(), failure, ) } client.routeDatabase.failed(failedRoute) } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
* @param file the file path * @return the extracted document ID */ protected String getDocId(final Path file) { final String s = file.toUri().toString(); final String b = basePath.toUri().toString(); final String id = s.replace(b, StringUtil.EMPTY).replace("." + imageExtention, StringUtil.EMPTY).replace("/", StringUtil.EMPTY); if (logger.isDebugEnabled()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
* @return a URL object representing the file URL */ public static URL toURL(final File file) { assertArgumentNotNull("file", file); try { return file.toURI().toURL(); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Reads the contents of a file into a byte array and returns it. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 8.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
level = DeprecationLevel.ERROR, ) fun url(): URL = toUrl() @JvmName("-deprecated_uri") @Deprecated( message = "moved to toUri()", replaceWith = ReplaceWith(expression = "toUri()"), level = DeprecationLevel.ERROR, ) fun uri(): URI = toUri() @JvmName("-deprecated_scheme") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "scheme"),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
assertThat(query.body).isEqualTo(body) } @Test fun uninitializedURI() { val request = Request.Builder().url("http://localhost/api").build() assertThat(request.url.toUri()).isEqualTo(URI("http://localhost/api")) assertThat(request.url).isEqualTo("http://localhost/api".toHttpUrl()) } @Test fun newBuilderUrlResetsUrl() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 19K bytes - Viewed (0) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
} @Override public ArtifactRepository createLocalRepository(File localRepository) throws InvalidRepositoryException { return createRepository( "file://" + localRepository.toURI().getRawPath(), RepositorySystem.DEFAULT_LOCAL_REPO_ID, true, ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS, true,
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 31.2K bytes - Viewed (0) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0)