Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 203 for readDirect (0.1 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

                }
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL), this::asEditHtml);
            });
            return redirect(getClass());
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse update(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.EDIT);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java

                if (header == null) {
                    throwValidationError(messages -> messages.addErrorsInvalidHeaderForRequestFile(GLOBAL, "no header"),
                            () -> asListHtml(this::saveToken));
                    return redirect(getClass()); // no-op
                }
                String line;
                while ((line = ReaderUtil.readLine(reader)) != null) {
                    buf.append(line);
                }
            } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. tests/test_custom_swagger_ui_redirect.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    swagger_ui_oauth2_redirect_url = "/docs/redirect"
    
    app = FastAPI(swagger_ui_oauth2_redirect_url=swagger_ui_oauth2_redirect_url)
    
    
    @app.get("/items/")
    async def read_items():
        return {"id": "foo"}
    
    
    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  4. tests/test_no_swagger_ui_redirect.py

        assert "swagger-ui-dist" in response.text
        print(client.base_url)
        assert "oauth2RedirectUrl" not in response.text
    
    
    def test_swagger_ui_no_oauth2_redirect():
        response = client.get("/docs/oauth2-redirect")
        assert response.status_code == 404, response.text
    
    
    def test_response():
        response = client.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 786 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java

                logger.warn("Failed to change password for {}", username, e);
                throwValidationError(messages -> messages.addErrorsFailedToChangePassword(GLOBAL), toIndexPage);
            }
            return redirect(getClass());
        }
    
        private void validatePasswordForm(final ProfileForm form, final VaErrorHook validationErrorLambda) {
            validate(form, messages -> {}, validationErrorLambda);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

                }
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml);
            });
            return redirect(getClass());
        }
    
        // -----------------------------------------------------
        //                                         Actually Crud
        //                                         -------------
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. misc/chrome/gophertool/gopher.js

    function urlForInput(t) {
        if (!t) {
            return null;
        }
    
        if (numericRE.test(t)) {
            if (t < 150000) {
                // We could use the golang.org/cl/ handler here, but
                // avoid some redirect latency and go right there, since
                // one is easy. (no server-side mapping)
                return "https://github.com/golang/go/issues/" + t;
            }
            return "https://golang.org/cl/" + t;
        }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Jul 11 14:36:33 UTC 2015
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java

            });
            return redirect(getClass());
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse deleteall() {
            verifyToken(this::asListHtml);
            searchLogPager.clear();
            // TODO delete logs
            saveInfo(messages -> messages.addSuccessCrawlingInfoDeleteAll(GLOBAL));
            return redirect(getClass());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. cni/README.md

            - "sidecar.istio.io/inject" is not false
            - "sidecar.istio.io/status" exists
    
    ### Redirect API
    
    The annotation based control is currently only supported in 'sidecar' mode. See plugin/redirect.go for details.
    
    - redirectMode allows TPROXY may to be set, required envoy has extra permissions. Default is redirect.
    - includeIPCidr, excludeIPCidr
    - includeInboudPorts, excludeInboundPorts
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 17 23:10:17 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. cni/pkg/iptables/iptables.go

    		// CLI: -A ISTIO_PRERT ! -d 127.0.0.1/32 -p tcp ! --dport 15008 -m mark ! --mark 0x539/0xfff -j REDIRECT --to-ports <INPLAINPORT>
    		//
    		// DESC: Anything that is not bound for localhost and does not have the mark, REDIRECT to ztunnel inbound plaintext port <INPLAINPORT>
    		// Skip 15008, which will go direct without redirect needed.
    		iptablesBuilder.AppendVersionedRule("127.0.0.1/32", "::1/128",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top