- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 78 for toURI (0.02 seconds)
-
docs/changelogs/upgrading_to_okhttp_4.md
| HttpUrl.get(URL) | URL.toHttpUrlOrNull() | | HttpUrl.parse(String) | String.toHttpUrlOrNull() | | HttpUrl.uri() | HttpUrl.toUri() | | HttpUrl.url() | HttpUrl.toUrl() | | MediaType.get(String) | String.toMediaType() |
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:58:16 GMT 2022 - 10.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
// If the user specifies a proxy, try that and only that. if (proxy != null) return listOf(proxy) // If the URI lacks a host (as in "http://</"), don't call the ProxySelector. val uri = url.toUri() if (uri.host == null) return immutableListOf(Proxy.NO_PROXY) // Try each of the ProxySelector choices until one connection succeeds. val proxiesOrNull = address.proxySelector.select(uri)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 7.3K bytes - Click Count (2) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
} for (final File f : files) { final String childUri = f.toURI().toASCIIString(); requestDataSet.add(RequestDataBuilder.newRequestData().get().url(childUri).build()); } } else {Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 15.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
if (logger.isDebugEnabled()) { String id = getId(constituent); logger.debug(" Included: {}", id); } try { classRealm.addURL(file.toURI().toURL()); } catch (MalformedURLException e) { // Not going to happen logger.error(e.getMessage(), e); } } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 13:59:25 GMT 2026 - 12.4K bytes - Click Count (1) -
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, ) } call.eventListener.connectFailed(call, route.socketAddress, route.proxy, null, e)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 19.3K bytes - Click Count (2) -
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) } /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 14.6K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
throw new IllegalStateException("plugin main artifact has not been resolved for " + getId()); } if (pluginFile.isFile()) { try { return new URL("jar:" + pluginFile.toURI() + "!/" + descriptor).openStream(); } catch (MalformedURLException e) { throw new IllegalStateException(e); } } else {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 16.2K bytes - Click Count (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. * <p>Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0)