- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 157 for Uri (0.01 seconds)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java
/** * Preprocesses a URI to ensure it has the correct GCS protocol prefix. * @param uri the URI to preprocess * @return the preprocessed URI with gcs:// prefix * @throws CrawlerSystemException if the URI is empty */ protected String preprocessUri(final String uri) { if (StringUtil.isEmpty(uri)) {Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 17.5K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
} } /** * Preprocesses a URI to ensure it's in the correct format for file system access. * * @param uri the URI to preprocess * @return the preprocessed URI * @throws CrawlerSystemException if the URI is empty */ protected String preprocessUri(final String uri) { if (StringUtil.isEmpty(uri)) {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) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt
import java.net.ProxySelector import java.net.SocketAddress import java.net.URI import okhttp3.internal.format class RecordingProxySelector : ProxySelector() { @JvmField val proxies = mutableListOf<Proxy>() val requestedUris = mutableListOf<URI>() val failures = mutableListOf<String>() override fun select(uri: URI): List<Proxy> { requestedUris.add(uri) return proxies }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 1.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt
} @Test fun fromUri() { val uri = URI("http://username:password@host/path?query#fragment") val httpUrl = uri.toHttpUrlOrNull() assertThat(httpUrl.toString()) .isEqualTo("http://username:password@host/path?query#fragment") } @Test fun fromUriUnsupportedScheme() { val uri = URI("mailto:******@****.***") assertThat(uri.toHttpUrlOrNull()).isNull() } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 12K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java
return getString(relativeSource, StandardCharsets.UTF_8); } /** * PUTs the source file (must exist as file) to target URI. The target MUST BE relative from the * {@link RemoteRepository#getUrl()} root. * * @throws RuntimeException If PUT fails for any reason. */ void put(@Nonnull Path source, @Nonnull URI relativeTarget); /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 4.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/proxy/NullProxySelector.kt
import java.net.SocketAddress import java.net.URI /** * A proxy selector that always returns the [Proxy.NO_PROXY]. */ object NullProxySelector : ProxySelector() { override fun select(uri: URI?): List<Proxy> { requireNotNull(uri) { "uri must not be null" } return listOf(Proxy.NO_PROXY) } override fun connectFailed( uri: URI?, sa: SocketAddress?, ioe: IOException?, ) { }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.1K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
.toSet() .map { getUserInfo(it) } .toSet() } private fun <T> invokeGitHubApi(uri: String, klass: Class<T>): T { val request = HttpRequest.newBuilder() .uri(URI(uri)) .apply { if (githubToken.isPresent) { header("Authorization", "token ${githubToken.get()}") }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jun 24 07:54:08 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
* encoding scheme. The set of safe characters (those which remain unescaped) can be specified on * construction. * * <p>This class is primarily used for creating URI escapers in {@link UrlEscapers} but can be used * directly if required. While URI escapers impose specific semantics on which characters are * considered 'safe', this class has a minimal set of restrictions. * * <p>When escaping a String, the following rules apply:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 8.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt
import java.net.SocketAddress import java.net.URI class FakeProxySelector : ProxySelector() { val proxies: MutableList<Proxy> = mutableListOf() fun addProxy(proxy: Proxy): FakeProxySelector { proxies.add(proxy) return this } override fun select(uri: URI): List<Proxy> { // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS).
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java
} public void setResolved(boolean resolved) { this.resolved = resolved; } public String getUri() { return uri; } public void setUri(String uri) { this.uri = uri; } public String getScope() { return getArtifactScope().getScope(); } public ArtifactScopeEnum getScopeAsEnum() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 8K bytes - Click Count (0)