Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 193 for REDIRECT (0.06 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    form.autoExpandReplicasForDoc)) {
                saveInfo(messages -> messages.addSuccessStartedDataUpdate(GLOBAL));
            }
            return redirect(getClass());
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse reloadDocIndex(final ActionForm form) {
            validate(form, messages -> {}, this::asIndexHtml);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. docs/features/interceptors.md

    Response response = client.newCall(request).execute();
    response.body().close();
    ```
    
    The URL `http://www.publicobject.com/helloworld.txt` redirects to `https://publicobject.com/helloworld.txt`, and OkHttp follows this redirect automatically. Our application interceptor is called **once** and the response returned from `chain.proceed()` has the redirected response:
    
    ```
    INFO: Sending request http://www.publicobject.com/helloworld.txt on null
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    			Namespace: "",
    			Labels:    map[string]string{},
    		},
    	}
    
    	return fakePod, fakeNS
    }
    
    func (mrdir *mockInterceptRuleMgr) Program(podName, netns string, redirect *Redirect) error {
    	mrdir.lastRedirect = append(mrdir.lastRedirect, redirect)
    	return nil
    }
    
    // returns the test server URL and a dispose func for the test server
    func setupCNIEventClientWithMockServer(serverErr bool) func() bool {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

                }
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL), this::asEditHtml);
            });
            return redirect(getClass());
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. cni/pkg/plugin/kubernetes.go

    		ProxyEnvironments: make(map[string]string),
    	}
    	for _, c := range containers(pod) {
    		pi.Containers.Insert(c.Name)
    		if c.Name == ISTIOPROXY {
    			// don't include ports from istio-proxy in the redirect ports
    			// Get proxy container env variable, and extract out ProxyConfig from it.
    			for _, e := range c.Env {
    				pi.ProxyEnvironments[e.Name] = e.Value
    			}
    			if len(c.Args) >= 2 && c.Args[0] == "proxy" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                throwValidationError(messages -> messages.addErrorsFileIsNotSupported(GLOBAL, fileName), this::asListHtml);
            }
            saveInfo(messages -> messages.addSuccessBulkProcessStarted(GLOBAL));
            return redirect(getClass()); // no-op
        }
    
        protected void asyncImport(final String fileName, final File tempFile) {
            final int fileType;
            if (fileName.startsWith("system") && fileName.endsWith(".properties")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. docs/sts/web-identity.go

    		log.Printf("%s %s", r.Method, r.RequestURI)
    		if r.RequestURI != "/" {
    			http.NotFound(w, r)
    			return
    		}
    		if clientSec != "" {
    			http.Redirect(w, r, config.AuthCodeURL(state), http.StatusFound)
    		} else {
    			http.Redirect(w, r, implicitFlowURL(config, state), http.StatusFound)
    		}
    	})
    
    	http.HandleFunc("/oauth2/callback", func(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/custom-response.md

    /// tip | "Tipp"
    
    Möglicherweise ist `ORJSONResponse` eine schnellere Alternative.
    
    ///
    
    ### `RedirectResponse`
    
    Gibt eine HTTP-Weiterleitung (HTTP-Redirect) zurück. Verwendet standardmäßig den Statuscode 307 – Temporäre Weiterleitung (Temporary Redirect).
    
    Sie können eine `RedirectResponse` direkt zurückgeben:
    
    ```Python hl_lines="2  9"
    {!../../docs_src/custom_response/tutorial006.py!}
    ```
    
    ---
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. docs/features/calls.md

    ## Follow-up Requests
    
    When your requested URL has moved, the webserver will return a response code like `302` to indicate the document’s new URL. OkHttp will follow the redirect to retrieve a final response.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

                "Test",
                "Redirect from /a to /b",
              ),
            body = "/a has moved!",
          ),
        )
        server.enqueue(
          MockResponse(body = "this is the redirect target"),
        )
    
        val call = client.newCall(Request(server.url("/")))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("this is the redirect target")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top