Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 1,084 for gorm (0.02 seconds)

  1. docs/zh/docs/tutorial/request-files.md

    ///
    
    ## 什么是 「表单数据」
    
    与 JSON 不同,HTML 表单(`<form></form>`)向服务器发送数据通常使用「特殊」的编码。
    
    **FastAPI** 要确保从正确的位置读取数据,而不是读取 JSON。
    
    /// note | 技术细节
    
    不包含文件时,表单数据一般用 `application/x-www-form-urlencoded`「媒体类型」编码。
    
    但表单包含文件时,编码为 `multipart/form-data`。使用了 `File`,**FastAPI** 就知道要从请求体的正确位置获取文件。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java

         *
         * @param dictId the dictionary ID
         * @param form the upload form containing the dictionary file
         * @return JSON response with result status
         */
        // PUT /api/admin/dict/synonym/upload/{dictId}
        @Execute
        public JsonResponse<ApiResult> put$upload(final String dictId, final UploadForm form) {
            form.dictId = dictId;
            validateApi(form, messages -> {});
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/security/simple-oauth2.md

    The spec also states that the `username` and `password` must be sent as form data (so, no JSON here).
    
    ### `scope` { #scope }
    
    The spec also says that the client can send another form field "`scope`".
    
    The form field name is `scope` (in singular), but it is actually a long string with "scopes" separated by spaces.
    
    Each "scope" is just a string (without spaces).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/scheduler/CreateForm.java

    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Size;
    
    /**
     * The create form for Scheduler.
     *
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
        }
    
        /**
         * The CRUD mode for the form.
         */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

         *
         * @param form the upload form containing the request file
         * @return action response with the search results or error page
         */
        @Execute
        @Secured({ ROLE })
        public ActionResponse upload(final UploadForm form) {
            validate(form, messages -> {}, () -> asListHtml(null));
            verifyTokenKeep(() -> asListHtml(this::saveToken));
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/error/ErrorNotfoundAction.java

        /**
         * Displays the not found error page.
         *
         * @param form the error form containing error information
         * @return HTML response for the not found error page
         */
        @Execute
        public HtmlResponse index(final ErrorForm form) {
            return asHtml(virtualHost(path_Error_NotFoundJsp));
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/wizard/IndexForm.java

     */
    package org.codelibs.fess.app.web.admin.wizard;
    
    /**
     * Form class for the admin wizard index page.
     * This form handles the initial setup and configuration
     * in the administrative wizard interface.
     */
    public class IndexForm {
    
        /**
         * Default constructor for index form.
         * Creates a new instance with default values.
         */
        public IndexForm() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

         * @param dictId the dictionary ID
         * @param form the upload form containing the dictionary file
         * @return JSON response with result status
         */
        // PUT /api/admin/dict/stemmerOverride/upload/{dictId}
        @Execute
        public JsonResponse<ApiResult> put$upload(final String dictId, final UploadForm form) {
            form.dictId = dictId;
            validateApi(form, messages -> {});
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/EditForm.java

    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for editing crawling information in the admin interface.
     * This form handles the editing of crawling session data, which tracks
     * the status and metadata of web crawling operations.
     *
     */
    public class EditForm {
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/general/ApiAdminGeneralAction.java

         */
        @Execute
        public JsonResponse<ApiResult> get$index() {
            final EditBody form = new EditBody();
            AdminGeneralAction.updateForm(fessConfig, form);
            form.ldapAdminSecurityCredentials = null;
            return asJson(new ApiConfigResponse().setting(form).status(Status.OK).result());
        }
    
        // PUT /api/admin/general
        /**
         * Updates the general system settings.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top