- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for fakeurl (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
server!!.enqueue( MockResponse( code = 301, headers = headersOf("Location", "http://www.fakeurl:" + server!!.port), ), ) server!!.enqueue(MockResponse()) val dns = FakeDns() dns["fakeurl"] = client.dns.lookup(server!!.hostName) dns["www.fakeurl"] = client.dns.lookup(server!!.hostName) client = client .newBuilder() .dns(dns)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 9.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
server.enqueue( MockResponse .Builder() .code(301) .setHeader("Location", "http://www.fakeurl:" + server.port) .build(), ) server.enqueue(MockResponse()) val dns = FakeDns() dns["fakeurl"] = client.dns.lookup(server.hostName) dns["www.fakeurl"] = client.dns.lookup(server.hostName) client = client .newBuilder() .dns(dns)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 60.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
* * @param fileUrl * The URL of the Jar file. Must not be {@literal null}. * @return The {@link File} of the Jar file. */ public static File toFile(final URL fileUrl) { assertArgumentNotNull("fileUrl", fileUrl); try { final String path = URLDecoder.decode(fileUrl.getPath(), "UTF-8");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
final String[] path = referenceClass.getName().split("\\."); String baseUrl = url.toExternalForm(); for (final String element : path) { final int pos = baseUrl.lastIndexOf('/'); baseUrl = baseUrl.substring(0, pos); } return getTraverser(URLUtil.create(baseUrl + '/'), null, null); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 18.6K bytes - Viewed (0) -
mockwebserver/README.md
server.start(); // Ask the server for its URL. You'll need this to make HTTP requests. HttpUrl baseUrl = server.url("/v1/chat/"); // Exercise your application code, which should make those HTTP requests. // Responses are returned in the same order that they are enqueued. Chat chat = new Chat(baseUrl); chat.loadMore(); assertEquals("hello, world!", chat.messages()); chat.loadMore(); chat.loadMore();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 13:40:52 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
* Normalizes the canonical URL relative to the base URL. * * @param baseUrl the base URL * @param canonicalUrl the canonical URL to normalize * @return the normalized canonical URL */ protected String normalizeCanonicalUrl(final String baseUrl, final String canonicalUrl) { try { final URL u = new URL(baseUrl);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 54.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
} catch (final IOException e) { throw new CrawlingAccessException("Failed to access permission info", e); } if (logger.isDebugEnabled()) { logger.debug("fileUrl:{} roleType:{}", responseData.getUrl(), roleTypeList); } } return roleTypeList; } /** * Extracts role type information from FTP (File Transfer Protocol) response data.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.3K bytes - Viewed (0)