Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 91 for HtmlResponse (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java

    import org.codelibs.fess.app.web.CrudMode;
    import org.codelibs.fess.app.web.base.FessAdminAction;
    import org.codelibs.fess.util.RenderDataUtil;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.render.RenderData;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    
    import jakarta.annotation.Resource;
    
    /**
     * Admin action for Search Log.
     *
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. docs/ja/docs/advanced/custom-response.md

    そして、OpenAPIにはそのようにドキュメントされます。
    
    ///
    
    /// tip | 豆知識
    
    `ORJSONResponse` は、現在はFastAPIのみで利用可能で、Starletteでは利用できません。
    
    ///
    
    ## HTMLレスポンス
    
    **FastAPI** からHTMLを直接返す場合は、`HTMLResponse` を使います。
    
    * `HTMLResponse` をインポートする。
    * *path operation* のパラメータ `content_type` に `HTMLResponse` を渡す。
    
    {* ../../docs_src/custom_response/tutorial002.py hl[2,7] *}
    
    /// info | 情報
    
    パラメータ `response_class` は、レスポンスの「メディアタイプ」を定義するために利用されます。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. docs/ko/docs/advanced/custom-response.md

    ///
    
    /// tip | 팁
    
    `ORJSONResponse`는 FastAPI에서만 사용할 수 있고 Starlette에서는 사용할 수 없습니다.
    
    ///
    
    ## HTML 응답
    
    **FastAPI**에서 HTML 응답을 직접 반환하려면 `HTMLResponse`를 사용하세요.
    
    * `HTMLResponse`를 임포트 합니다.
    * *경로 작업 데코레이터*의 `response_class` 매개변수로 `HTMLResponse`를 전달합니다.
    
    {* ../../docs_src/custom_response/tutorial002.py hl[2,7] *}
    
    /// info | 정보
    
    `response_class` 매개변수는 응답의 "미디어 타입"을 정의하는 데에도 사용됩니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 11:21:20 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

        /**
         * Get the HTML response for the dictionary index page.
         * @return The HTML response.
         */
        protected HtmlResponse asDictIndexHtml() {
            return redirect(AdminDictAction.class);
        }
    
        private HtmlResponse asListHtml(final String dictId) {
            return asHtml(path_AdminDictMapping_AdminDictMappingJsp).renderWith(data -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

         * Displays the wizard index page.
         *
         * @return HTML response for the wizard main page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            return asIndexHtml();
        }
    
        private HtmlResponse asIndexHtml() {
            return asHtml(path_AdminWizard_AdminWizardJsp).useForm(IndexForm.class);
        }
    
        /**
         * Displays the crawling configuration form.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. 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);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

    import org.codelibs.fess.util.RenderDataUtil;
    import org.lastaflute.di.exception.IORuntimeException;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    
    /**
     * Admin action for Log.
     */
    public class AdminLogAction extends FessAdminAction {
    
        /**
         * Default constructor.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. 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
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

                });
            });
        }
    
        private HtmlResponse asEditHtml() {
            return asHtml(path_AdminWebauth_AdminWebauthEditJsp).renderWith(data -> {
                registerProtocolSchemeItems(data);
                registerWebConfigItems(data);
            });
        }
    
        private HtmlResponse asDetailsHtml() {
            return asHtml(path_AdminWebauth_AdminWebauthDetailsJsp).renderWith(data -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asListHtml();
        }
    
        /**
         * Deletes the specified plugin.
         *
         * @param form the delete form containing plugin information
         * @return HTML response redirecting to the plugin list
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final DeleteForm form) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top