- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 57 for httpresponse (0.24 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
protected String getActionRole() { return ROLE; } @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index() { saveToken(); return asListHtml(); } @Execute @Secured({ ROLE }) public HtmlResponse delete(final DeleteForm form) { validate(form, messages -> {}, () -> asHtml(path_AdminPlugin_AdminPluginJsp));
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (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. """
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 10.1K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
!!! tip The `ORJSONResponse` is currently only available in FastAPI, not in Starlette. ## 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*. ```Python hl_lines="2 7" {!../../../docs_src/custom_response/tutorial002.py!} ``` !!! info
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
// ============== @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index() { saveToken(); return asIndexHtml(); } private HtmlResponse asIndexHtml() { return asHtml(path_AdminMaintenance_AdminMaintenanceJsp).useForm(ActionForm.class, op -> op.setup(f -> { f.replaceAliases = Constants.ON;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java
@Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index() { saveToken(); return asHtml(path_AdminGeneral_AdminGeneralJsp).useForm(EditForm.class, setup -> { setup.setup(form -> { updateForm(fessConfig, form); }); }); } @Execute @Secured({ ROLE }) public HtmlResponse sendmail(final MailForm form) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
} public void test_getRedirectResponseToLogin() { final HtmlResponse response = HtmlResponse.fromForwardPath("/"); assertEquals(response, systemHelper.getRedirectResponseToLogin(response)); } public void test_getRedirectResponseToRoot() { final HtmlResponse response = HtmlResponse.fromForwardPath("/"); assertEquals(response, systemHelper.getRedirectResponseToRoot(response));
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java
request.setAttribute(formKey, formBuf.toString()); } } protected HtmlResponse redirectToLogin() { return systemHelper.getRedirectResponseToLogin(redirect(SsoAction.class)); } protected HtmlResponse redirectToRoot() { return systemHelper.getRedirectResponseToRoot(newHtmlResponseAsRedirect("/")); }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
protected String getActionRole() { return ROLE; } @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index() { saveToken(); return asListHtml(); } @Execute @Secured({ ROLE }) public HtmlResponse upload(final UploadForm form) { validate(form, messages -> {}, this::asListHtml); verifyToken(this::asListHtml);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 25.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
return new FessActionValidator<>(requestManager, messagesCreator, runtimeGroups); } public HtmlResponse getRedirectResponseToLogin(final HtmlResponse response) { return response; } public HtmlResponse getRedirectResponseToRoot(final HtmlResponse response) { return response; } public void setLogLevel(final String level) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Sun May 26 05:52:29 UTC 2024 - 26.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java
import org.dbflute.optional.OptionalEntity; import org.lastaflute.web.login.credential.LoginCredential; import org.lastaflute.web.response.ActionResponse; import org.lastaflute.web.response.HtmlResponse; import org.lastaflute.web.util.LaRequestUtil; import com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl; import com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11.1K bytes - Viewed (0)