- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for fakeurl (0.05 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/test/java/jcifs/smb/SmbFileIntegrationTest.java
// Configure SMB context and connection URL String host = sambaContainer.getHost(); Integer port = sambaContainer.getMappedPort(SMB_PORT); baseUrl = "smb://" + host + ":" + port + "/"; log.info("Samba container started - Base URL: {}", baseUrl); // Create authentication context - try guest auth first for broader compatibility try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java
assertNull(responseData); } try (final ResponseData responseData = smbClient.doHead(baseUrl + "dir1/dir2/")) { assertNull(responseData); } try (final ResponseData responseData = smbClient.doHead(baseUrl + "dir3/")) { assertNull(responseData); } try (final ResponseData responseData = smbClient.doHead(baseUrl + "none")) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
@DisplayName("URL handles relative paths correctly") void testRelativeUrlHandling() throws Exception { // Create base URL URL baseUrl = new URL(null, "smb://server/share/", handler); // Test relative path resolution URL relativeUrl = new URL(baseUrl, "folder/file.txt"); assertEquals("smb", relativeUrl.getProtocol()); assertEquals("server", relativeUrl.getHost());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.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) -
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/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) -
cmd/callhome.go
return } } } const ( subnetHealthPath = "/api/health/upload" ) func sendHealthInfo(ctx context.Context, healthInfo madmin.HealthInfo) error { url := globalSubnetConfig.BaseURL + subnetHealthPath filename := fmt.Sprintf("health_%s.json.gz", UTCNow().Format("20060102150405")) url += "?filename=" + filename
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
// Now set the context loader to one that should find the resource. URL baseUrl = tempFile.getParentFile().toURI().toURL(); URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl}); ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(loader);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 6.9K bytes - Viewed (0)