- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 1,344 for response (0.12 sec)
-
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
doNothing().when(messageBlock).setResponse(response); when(messageBlock.getResponse()).thenReturn(response); // When messageBlock.setResponse(response); CommonServerMessageBlockResponse retrievedResponse = messageBlock.getResponse(); // Then assertEquals(response, retrievedResponse); verify(messageBlock).setResponse(response); verify(messageBlock).getResponse();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
docs/es/docs/how-to/general.md
## Documentación de Descripción de Response - OpenAPI Para definir la descripción del response, mostrada en la interfaz de usuario de la documentación, lee la documentación para [Tutorial - Configuraciones de Path Operation - Descripción del Response](../tutorial/path-operation-configuration.md#response-description){.internal-link target=_blank}.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/SearchListTests.java
checkPutMethod(requestBody, getItemEndpointSuffix()).then().body("response.status", equalTo(0)); refresh(); } checkUpdate(); } @Override protected List<Map<String, Object>> getItemList(final Map<String, Object> body) { final String response = checkMethodBase(body).get(getApiPath() + "/" + getListEndpointSuffix()).asString();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jun 12 02:18:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java
assertEquals(2, response.action); } @Test void testSetServerFid() { response.serverFid = 456; assertEquals(456, response.serverFid); } @Test void testToString() { // Set up the response object with test values response.fid = 1; response.fileAttributes = 2; response.lastWriteTime = 3; response.dataSize = 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
byte[] response = NtlmPasswordAuthentication.getPreNTLMResponse("password", challenge); assertNotNull(response); assertEquals(24, response.length); } // Test getNTLMResponse @Test void testGetNTLMResponse() { byte[] challenge = { 1, 2, 3, 4, 5, 6, 7, 8 }; byte[] response = NtlmPasswordAuthentication.getNTLMResponse("password", challenge);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
For example, you could want to return a plain text response instead of JSON for these errors: {* ../../docs_src/handling_errors/tutorial004.py hl[3:4,9:11,22] *} /// note | Technical Details You could also use `from starlette.responses import PlainTextResponse`.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt
val request = SimpleHttpRequests.get("https://google.com/robots.txt") val response = client.execute(request, LoggingCallback).get() println("Protocol ${response.version}") println("Response ${response.code}") println("${response.body.bodyText.substring(0, 20)}...") Assert.assertEquals(ProtocolVersion("HTTP", 2, 0), response.version) } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
.url("https://server/robots.txt") .build() val response = Response .Builder() .request(request) .code(401) .header("WWW-Authenticate", "Basic realm=\"User Visible Realm\"") .protocol(HTTP_2) .message("Unauthorized") .build() val authRequest = authenticator.authenticate(route, response) assertEquals(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
assertFalse(response.canReuse(otherContext, false)); } @Test @DisplayName("Should validate response correctly") void testIsValid() throws Exception { // Setup valid response setResponseAsReceived(response); setPrivateField(response, "dialectRevision", 0x0311); setPrivateField(response, "securityMode", Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java
.url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { System.out.println(response.request().header("Date")); } } static class CurrentDateInterceptor implements Interceptor { @Override public Response intercept(Chain chain) throws IOException { Request request = chain.request();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Oct 31 15:32:50 UTC 2018 - 1.8K bytes - Viewed (0)