- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 498 for handleMsg (0.06 seconds)
-
docs/zh-hant/docs/tutorial/handling-errors.md
有些情況需要在 HTTP 錯誤回應中加入自訂標頭,例如某些安全性情境。 你大概不需要在程式碼中直接使用。 但若你在進階情境中需要,可以這樣加入自訂標頭: {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *} ## 安裝自訂例外處理器 { #install-custom-exception-handlers } 你可以使用 [Starlette 的相同例外工具](https://www.starlette.dev/exceptions/) 來加入自訂例外處理器。 假設你有一個自訂例外 `UnicornException`,你(或你使用的函式庫)可能會 `raise` 它。 而你想用 FastAPI 全域處理這個例外。 你可以使用 `@app.exception_handler()` 加入自訂例外處理器:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 8.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarClose.java
*/ package jcifs.smb1.dcerpc.msrpc; /** * Microsoft RPC LSA close handle request. * This class implements the LSARPC close handle operation for closing * LSA policy handles when they are no longer needed. */ public class MsrpcLsarClose extends lsarpc.LsarClose { /** * Creates a new request to close an LSA policy handle. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MirrorSelector.java
* under the License. */ package org.apache.maven.repository; import java.util.List; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.settings.Mirror; /** * Handles the selection of mirrors for repositories. * */ @Deprecated public interface MirrorSelector { /** * Determines the mirror for the specified repository. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.5K bytes - Click Count (0) -
docs/ko/docs/tutorial/handling-errors.md
아마 코드에서 직접 사용할 일은 거의 없을 것입니다. 하지만 고급 시나리오에서 필요하다면 커스텀 헤더를 추가할 수 있습니다: {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *} ## 커스텀 예외 핸들러 설치하기 { #install-custom-exception-handlers } [Starlette의 동일한 예외 유틸리티](https://www.starlette.dev/exceptions/)를 사용해 커스텀 예외 핸들러를 추가할 수 있습니다. 여러분(또는 사용하는 라이브러리)이 `raise`할 수 있는 커스텀 예외 `UnicornException`이 있다고 가정해 봅시다. 그리고 이 예외를 FastAPI에서 전역적으로 처리하고 싶다고 해봅시다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 10.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/ItemForm.java
import org.lastaflute.web.ruts.multipart.MultipartFormFile; import jakarta.validation.constraints.Size; /** * Form class for storage item operations in the admin interface. * This form handles file upload and management operations for storage items. */ public class ItemForm { /** The path of the storage item */ public String path; /** * Default constructor. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/FileAccessForm.java
*/ package org.codelibs.fess.app.web.admin.design; import org.lastaflute.web.validation.Required; /** * Form class for file access operations in the admin design interface. * This form handles file name validation for accessing design files. */ public class FileAccessForm { /** The name of the file to access (required) */ @Required public String fileName; /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
import java.util.concurrent.CompletableFuture; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.internal.smb2.create.Smb2CreateRequest; /** * Handles automatic reconnection of durable and persistent SMB handles. * * This class provides retry logic with exponential backoff for handle * reconnection after network failures or server issues. */ public class HandleReconnector {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 8.5K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java
} @Test public void test_cleanup() { rateLimitHelper.blockIp("192.168.1.100", 1L); assertEquals(1, rateLimitHelper.getBlockedIpCount()); // Guava Cache handles expiration automatically // Wait for cache to expire and call cleanup try { Thread.sleep(100L); } catch (final InterruptedException e) { // ignore }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java
import jcifs.internal.smb1.trans.SmbComTransaction; import jcifs.internal.smb1.trans.SmbComTransactionResponse; /** * Trans2 GetDfsReferral response message for DFS referral queries. * This class handles the response from a TRANS2_GET_DFS_REFERRAL request, which returns * DFS referral information for redirecting clients to distributed file system targets. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
* Fess configuration objects including web crawling configurations, file crawling * configurations, and label types for access control. * * <p>The parser handles the following GSA configuration elements: * <ul> * <li>Collections with good/bad URL patterns</li> * <li>Global parameters including start URLs and filtering rules</li> * <li>User agent settings</li>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.6K bytes - Click Count (0)