Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 109 for HtmlResponse (0.08 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

    import org.codelibs.fess.app.web.admin.AdminAction;
    import org.codelibs.fess.app.web.admin.dashboard.AdminDashboardAction;
    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * Abstract base action class for handling login functionality in Fess.
     * This action provides logic for redirecting authenticated users to appropriate
     * admin interfaces based on their roles and permissions.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. docs_src/custom_response/tutorial003_py39.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>
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 394 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/help/HelpAction.java

         * form parameters and rendering data for the help page display.
         *
         * @return HtmlResponse containing the rendered help page or redirect to login if authentication is required
         */
        @Execute
        public HtmlResponse index() {
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/error/ErrorBadrequrestAction.java

     */
    package org.codelibs.fess.app.web.error;
    
    import org.codelibs.fess.app.web.base.FessSearchAction;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * Action class for handling HTTP 400 Bad Request error pages.
     * This action displays error pages when a client request contains
     * invalid syntax or cannot be fulfilled due to malformed request parameters.
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/custom-response.md

    A `ORJSONResponse` está disponível apenas no FastAPI, e não no Starlette.
    
    ///
    
    ## Resposta HTML { #html-response }
    
    Para retornar uma resposta com HTML diretamente do **FastAPI**, utilize `HTMLResponse`.
    
    * Importe `HTMLResponse`
    * Passe `HTMLResponse` como o parâmetro de `response_class` do seu *decorador de operação de rota*.
    
    {* ../../docs_src/custom_response/tutorial002_py39.py hl[2,7] *}
    
    /// info | Informação
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/error/ErrorNotfoundAction.java

     */
    package org.codelibs.fess.app.web.error;
    
    import org.codelibs.fess.app.web.base.FessSearchAction;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * Action class for handling HTTP 404 Not Found error pages.
     * This action displays error pages when the requested resource
     * cannot be found on the server.
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

    import org.codelibs.fess.util.RenderDataUtil;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.StreamResponse;
    import org.lastaflute.web.ruts.multipart.MultipartFormFile;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    
    /**
     * Admin action for Storage management.
     *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dashboard/AdminDashboardAction.java

    import org.codelibs.fess.api.engine.SearchEngineApiManager;
    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.ruts.process.ActionRuntime;
    
    import jakarta.annotation.Resource;
    
    /**
     * Admin action for Dashboard.
     *
     */
    public class AdminDashboardAction extends FessAdminAction {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. docs_src/request_files/tutorial002_py39.py

    from fastapi import FastAPI, File, UploadFile
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(files: list[bytes] = File()):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(files: list[UploadFile]):
        return {"filenames": [file.filename for file in files]}
    
    
    @app.get("/")
    async def main():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 786 bytes
    - Viewed (0)
  10. docs_src/websockets/tutorial001_py39.py

    from fastapi import FastAPI, WebSocket
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
                <input type="text" id="messageText" autocomplete="off"/>
                <button>Send</button>
            </form>
            <ul id='messages'>
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top