- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 74 for handleMsg (0.08 seconds)
-
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
} } /** * Loads protocol handlers from the specified base package by scanning for * Handler classes in subpackages and registering them as web or file protocols * based on their PROTOCOL_TYPE field. * * @param basePackage the base package to scan for protocol handlers */ protected void loadProtocols(final String basePackage) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Dec 12 13:58:40 GMT 2025 - 12.4K bytes - Click Count (1) -
docs/en/docs/advanced/middleware.md
new_app = UnicornMiddleware(app, some_config="rainbow") ``` But FastAPI (actually Starlette) provides a simpler way to do it that makes sure that the internal middlewares handle server errors and custom exception handlers work properly. For that, you use `app.add_middleware()` (as in the example for CORS). ```Python from fastapi import FastAPI from unicorn import UnicornMiddleware app = FastAPI()
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/QueryProcessor.java
} private static final Logger logger = LogManager.getLogger(QueryProcessor.class); /** * Map of query commands indexed by query class simple names. * Used to lookup appropriate command handlers for different query types. */ protected Map<String, QueryCommand> queryCommandMap = new HashMap<>(); /** * List of filters that will be applied during query processing.Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.2K bytes - Click Count (0) -
docs/en/docs/tutorial/handling-errors.md
/// ## Override the default exception handlers { #override-the-default-exception-handlers } **FastAPI** has some default exception handlers. These handlers are in charge of returning the default JSON responses when you `raise` an `HTTPException` and when the request has invalid data. You can override these exception handlers with your own.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
* `"function"`: start the dependency before the *path operation function* that handles the request, end the dependency after the *path operation function* ends, but **before** the response is sent back to the client. So, the dependency function will be executed **around** the *path operation **function***.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.9K bytes - Click Count (0) -
docs/en/docs/advanced/events.md
You can probably skip this part. /// There's an alternative way to define this logic to be executed during *startup* and during *shutdown*.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.9K bytes - Click Count (0) -
tests/test_compat.py
# class "feature" assert is_uploadfile_sequence_annotation(Union[list[str], list[UploadFile]]) def test_serialize_sequence_value_with_optional_list(): """Test that serialize_sequence_value handles optional lists correctly.""" from fastapi._compat import v2 field_info = FieldInfo(annotation=Union[list[str], None]) field = v2.ModelField(name="items", field_info=field_info)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java
import java.util.HashMap; import java.util.Map; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; /** * Factory for managing CORS handlers based on origin. * Maintains a registry of CORS handlers for different origins and provides lookup functionality. */ public class CorsHandlerFactory { /** * Creates a new instance of CorsHandlerFactory. */Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
* * This class provides Single Sign-On (SSO) authentication using the SPNEGO protocol, * which is commonly used for Kerberos-based authentication in Windows environments. * It handles the negotiation between client and server to establish a secure * authentication context without requiring users to explicitly enter credentials. * * The authenticator supports various configuration options including delegation,
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 17.8K bytes - Click Count (3) -
docs/pt/docs/tutorial/handling-errors.md
{* ../../docs_src/handling_errors/tutorial002_py39.py hl[14] *} ## Instale manipuladores de exceções customizados { #install-custom-exception-handlers } Você pode adicionar manipuladores de exceção customizados com <a href="https://www.starlette.dev/exceptions/" class="external-link" target="_blank">a mesma seção de utilidade de exceções presentes no Starlette</a>.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.2K bytes - Click Count (0)