- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 60 for HtmlResponse (0.15 seconds)
-
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) -
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) -
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) -
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) -
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] *} /// infoCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
docs_src/custom_response/tutorial010_py310.py
from fastapi import FastAPI from fastapi.responses import HTMLResponse app = FastAPI(default_response_class=HTMLResponse) @app.get("/items/") async def read_items():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 22 16:07:19 GMT 2026 - 228 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) -
fastapi/openapi/docs.py
</noscript> <redoc spec-url="{openapi_url}"></redoc> <script src="{redoc_js_url}"> </script> </body> </html> """ return HTMLResponse(html) def get_swagger_ui_oauth2_redirect_html() -> HTMLResponse: """ Generate the HTML response with the OAuth2 redirection for Swagger UI. You normally don't need to use or change this. """Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 24 09:28:10 GMT 2026 - 12.1K bytes - Click Count (0) -
docs_src/websockets_/tutorial002_py310.py
from fastapi import ( Cookie, Depends, FastAPI, Query, WebSocket, WebSocketException, status, ) 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)">
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 12:34:37 GMT 2026 - 2.7K bytes - Click Count (0)