- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 459 for acceptT (0.08 sec)
-
samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt
val request = HttpGet(server.url("/").toUri()) request.addHeader("Accept", "text/plain") httpClient.execute(request).use { response -> assertThat(response.code).isEqualTo(200) assertThat(EntityUtils.toString(response.entity)).isEqualTo("hello, Apache HttpClient 5.x") } val recorded = server.takeRequest() assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/DosFileFilter.java
* as the specified wildcard and attributes are passed to the server for * filtering there (although attributes are largely ignored by servers * they are filtered locally by the default accept method). * * @param wildcard the wildcard pattern for matching file names (e.g., "*.txt") * @param attributes the DOS file attributes to match (e.g., ATTR_DIRECTORY) */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.assertNoMoreLogs() networkLogs .assertLogEqual("--> GET $url http/1.1") .assertLogEqual("Host: $host") .assertLogEqual("Connection: Keep-Alive") .assertLogEqual("Accept-Encoding: gzip") .assertLogMatch(Regex("""User-Agent: okhttp/.+""")) .assertLogEqual("--> END GET") .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)""")) .assertLogEqual("Content-Length: 0")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
private void runServer() { while (running.get() && !serverSocket.isClosed()) { try { Socket clientSocket = serverSocket.accept(); // In a real implementation, this would handle RPC requests // For the mock, we just accept connections and close them clientSocket.close(); } catch (IOException e) { if (running.get()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
RequestParam rp = RequestParam.NO_RETRY; // Act: pass to the collaborator consumer.accept(rp); // Assert: interaction happened exactly once with correct argument; no other calls verify(consumer, times(1)).accept(RequestParam.NO_RETRY); verifyNoMoreInteractions(consumer); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
*/ /** * Creates a new instance with {@code null} as its detail message and no cause. * * @deprecated Prefer {@linkplain UncheckedExecutionException(Throwable)} a constructor that * accepts a cause: Users of this class typically expect for instances to have a non-null * cause. At the moment, you can <i>usually</i> still preserve behavior by passing an explicit
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
@Test @DisplayName("Constructor accepts null challenge") void testConstructorAcceptsNullChallenge() { UniAddress dc = mock(UniAddress.class); NtlmChallenge nc = new NtlmChallenge(null, dc); assertNull(nc.challenge); assertSame(dc, nc.dc); } @Test @DisplayName("Constructor accepts null dc") void testConstructorAcceptsNullDc() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
Header(RESPONSE_STATUS, "400"), Header(RESPONSE_STATUS, "404"), Header(RESPONSE_STATUS, "500"), Header("accept-charset", ""), Header("accept-encoding", "gzip, deflate"), Header("accept-language", ""), Header("accept-ranges", ""), Header("accept", ""), Header("access-control-allow-origin", ""), Header("age", ""), Header("allow", ""), Header("authorization", ""),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 22.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
A result(Collector<T, A, R> collector, Iterable<T> inputs) { A accum = collector.supplier().get(); for (T input : inputs) { collector.accumulator().accept(accum, input); } return accum; } }, /** Get one accumulator for each element and merge the accumulators left-to-right. */ MERGE_LEFT_ASSOCIATIVE { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 15 21:47:56 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
final RequestProcessor processor = new RequestProcessor(encoding, threshold); processor.accept(con); try (final CurlResponse res = processor.getResponse()) { actionListener.accept(res); } catch (final IOException e) { exceptionListener.accept(e); } }, exceptionListener); } /**
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 17.8K bytes - Viewed (0)