Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 85 for HTMLResponse (0.47 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            return asListHtml();
        }
    
        /**
         * Show the list page.
         * @param pageNumber The page number.
         * @param form The search form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 21K bytes
    - Click Count (0)
  2. docs_src/custom_response/tutorial003_py310.py

    from fastapi import FastAPI
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items():
        html_content = """
        <html>
            <head>
                <title>Some HTML in here</title>
            </head>
            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
        """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 394 bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

                });
            });
        }
    
        private HtmlResponse asEditHtml() {
            return asHtml(path_AdminBadword_AdminBadwordEditJsp);
        }
    
        private HtmlResponse asDetailsHtml() {
            return asHtml(path_AdminBadword_AdminBadwordDetailsJsp);
        }
    
        private HtmlResponse asUploadHtml() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

                });
            });
        }
    
        private HtmlResponse asEditHtml() {
            return asHtml(path_AdminElevateword_AdminElevatewordEditJsp).renderWith(data -> {
                registerLabels(data);
            });
        }
    
        private HtmlResponse asDetailsHtml() {
            return asHtml(path_AdminElevateword_AdminElevatewordDetailsJsp).renderWith(data -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

                    copyBeanToBean(userPager, form, op -> op.include("id"));
                });
            });
        }
    
        private HtmlResponse asEditHtml() {
            return asHtml(path_AdminUser_AdminUserEditJsp).renderWith(data -> {
                registerForms(data);
            });
        }
    
        private HtmlResponse asDetailsHtml() {
            return asHtml(path_AdminUser_AdminUserDetailsJsp).renderWith(data -> {
                registerForms(data);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 21K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

        public HtmlResponse move(final ListForm form) {
            saveToken();
            return doMove(form, 0);
        }
    
        /**
         * Handles pagination movement logic.
         *
         * @param form the list form containing current state
         * @param move the direction to move (-1 for previous, 0 for specific page, 1 for next)
         * @return HTML response with moved page results
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 25.5K bytes
    - Click Count (1)
  7. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

         */
        private HtmlResponse asEditHtml() {
            return asHtml(path_AdminFileconfig_AdminFileconfigEditJsp).renderWith(data -> {
                registerRolesAndLabels(data);
            });
        }
    
        /**
         * Returns HTML response for the details page.
         *
         * @return HTML response for the details page
         */
        private HtmlResponse asDetailsHtml() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 21.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

                });
            });
        }
    
        private HtmlResponse asEditHtml() {
            return asHtml(path_AdminWebconfig_AdminWebconfigEditJsp).renderWith(data -> {
                registerRolesAndLabels(data);
            });
        }
    
        private HtmlResponse asDetailsHtml() {
            return asHtml(path_AdminWebconfig_AdminWebconfigDetailsJsp).renderWith(data -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/custom-response.md

    {* ../../docs_src/response_model/tutorial001_01_py310.py ln[15:17] hl[16] *}
    
    ## HTML Response { #html-response }
    
    To return a response with HTML directly from **FastAPI**, use `HTMLResponse`.
    
    * Import `HTMLResponse`.
    * Pass `HTMLResponse` as the parameter `response_class` of your *path operation decorator*.
    
    {* ../../docs_src/custom_response/tutorial002_py310.py hl[2,7] *}
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            return asListHtml();
        }
    
        /**
         * Show the list page.
         * @param pageNumber The page number.
         * @param form The search form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top