- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 127 for HTMLResponse (0.08 seconds)
-
docs_src/custom_response/tutorial002_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 352 bytes - Click Count (0) -
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.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 02:14:37 GMT 2026 - 16.4K bytes - Click Count (0) -
docs_src/request_files/tutorial002_py310.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():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 786 bytes - Click Count (0) -
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. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
@Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index() { saveToken(); return asHtml(path_AdminDesign_AdminDesignJsp).useForm(DesignForm.class); } /** * Go back to the index page. * @return The HTML response. */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse back() { saveToken();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 20.1K bytes - Click Count (0) -
docs_src/request_files/tutorial003_py310.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(description="Multiple files as bytes"), ): return {"file_sizes": [len(file) for file in files]} @app.post("/uploadfiles/") async def create_upload_files( files: list[UploadFile] = File(description="Multiple files as UploadFile"), ):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 888 bytes - Click Count (0) -
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) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 11.9K bytes - Click Count (0) -
docs_src/websockets_/tutorial001_py310.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'>
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 12:34:37 GMT 2026 - 1.4K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/custom-response.md
{* ../../docs_src/response_model/tutorial001_01_py310.py ln[15:17] hl[16] *} ## HTML 回應 { #html-response } 要直接從 **FastAPI** 回傳 HTML,使用 `HTMLResponse`。 - 匯入 `HTMLResponse`。 - 在「路徑操作裝飾器」中,將 `HTMLResponse` 傳給 `response_class` 參數。 {* ../../docs_src/custom_response/tutorial002_py310.py hl[2,7] *} /// info 參數 `response_class` 也會用來定義回應的「media type」。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 10.3K bytes - Click Count (0) -
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. *
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 22.1K bytes - Click Count (0)