- Sort Score
- Num 10 results
- Language All
Results 1031 - 1040 of 1,967 for respond (0.11 seconds)
-
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
Configuration cfg = mock(Configuration.class); return new Smb2SessionSetupResponse(cfg); } /** * Build a minimal SMB2 header for a response at the given offset. * The header is prepared as a synchronous response with server-to-redirector flag. */ private void buildHeader(byte[] buf, int start, int status, int command, long sessionId) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java
} final BulkResponse response = bulkRequest.execute().actionGet(30_000L); if (response.hasFailures()) { logger.warn("Failed to write log notifications: {}", response.buildFailureMessage()); } } } catch (final Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.5K bytes - Click Count (0) -
okhttp-coroutines/README.md
OkHttp Coroutines ================= Support for Kotlin clients using coroutines. ```kotlin val call = client.newCall(request) call.executeAsync().use { response -> withContext(Dispatchers.IO) { println(response.body?.string()) } } ``` This is implemented using `suspendCancellableCoroutine` but uses the standard Dispatcher in OkHttp. This means that by default Kotlin's Dispatchers are not used.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Nov 09 15:47:27 GMT 2023 - 609 bytes - Click Count (0) -
tests/test_datetime_custom_encoder.py
@app.get("/model", response_model=ModelWithDatetimeField) def get_model(): return model client = TestClient(app) with client: response = client.get("/model")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 817 bytes - Click Count (0) -
tests/test_orjson_response_class.py
def test_orjson_non_str_keys(): with warnings.catch_warnings(): warnings.simplefilter("ignore", FastAPIDeprecationWarning) with client: response = client.get("/orjson_non_str_keys")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 22 16:34:59 GMT 2026 - 846 bytes - Click Count (0) -
docs/ja/docs/tutorial/middleware.md
ミドルウェア関数は以下を受け取ります: * `request`。 * パラメータとして `request` を受け取る関数 `call_next`。 * この関数は、対応する*path operation*に `request` を渡します。 * 次に、対応する*path operation*によって生成された `response` を返します。 * その後、`response` を返す前にさらに `response` を変更することもできます。 {* ../../docs_src/middleware/tutorial001_py310.py hl[8:9,11,14] *} /// tip | 豆知識Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 5.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
import okhttp3.Interceptor import okhttp3.Response import okhttp3.internal.USER_AGENT import okhttp3.internal.toHostHeader import okio.GzipSource import okio.buffer /** * Bridges from application code to network code. First it builds a network request from a user * request. Then it proceeds to call the network. Finally it builds a user response from the network * response. */ class BridgeInterceptor : Interceptor {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/S3StorageClient.java
requestBuilder.prefix(normalizedPrefix); } final ListObjectsV2Response response = s3Client.listObjectsV2(requestBuilder.build()); // Process common prefixes (directories) for (final CommonPrefix commonPrefix : response.commonPrefixes()) { final String dirName = getName(commonPrefix.prefix()); if (StringUtil.isNotBlank(dirName)) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
import jcifs.internal.SmbBasicFileInfo; import jcifs.internal.smb1.AndXServerMessageBlock; import jcifs.internal.util.SMBUtil; import jcifs.util.Hexdump; /** * SMB1 NT Create AndX Response message. * * This response contains information about the created or opened file, * including file handle, attributes, and creation disposition. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
// Decode will throw exception as ptype 0 is not a valid response type assertThrows(NdrException.class, () -> m.decode(buf)); } @Test void testRoundTripEncodeDecodeForResponseType() throws Exception { // Create a properly formatted response message NdrBuffer buf = new NdrBuffer(new byte[1024], 0); // Manually encode a response header buf.enc_ndr_small(5); // RPC versionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7K bytes - Click Count (0)