Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 251 for readDirect (0.07 seconds)

  1. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

                        out.write(in);
                    }
                });
            }
            throwValidationError(messages -> messages.addErrorsCouldNotFindLogFile(GLOBAL, filename), this::asIndexHtml);
            return redirect(getClass()); // no-op
        }
    
        /**
         * Sanitizes a filename by removing path traversal sequences and whitespace.
         *
         * @param filename the filename to sanitize
    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)
  3. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

            verifyToken(() -> asHtml(path_AdminGeneral_AdminGeneralJsp));
    
            updateConfig(fessConfig, form);
            saveInfo(messages -> messages.addSuccessUpdateCrawlerParams(GLOBAL));
            return redirect(getClass());
        }
    
        /**
         * Updates the Fess configuration with values from the form.
         *
         * @param fessConfig the Fess configuration to update
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 05:54:31 GMT 2026
    - 27.2K bytes
    - Click Count (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());
        }
    
        /**
         * Deletes a role item.
         *
         * @param form the edit form containing the ID of the item to delete
         * @return HTML response redirecting to the list page after deletion
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. docs/tr/docs/advanced/custom-response.md

    Bu, en iyi performansı elde etmenin ideal yoludur.
    
    ///
    
    ### `RedirectResponse` { #redirectresponse }
    
    HTTP redirect döndürür. Varsayılan olarak 307 status code (Temporary Redirect) kullanır.
    
    `RedirectResponse`’u doğrudan döndürebilirsiniz:
    
    {* ../../docs_src/custom_response/tutorial006_py310.py hl[2,9] *}
    
    ---
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt

    import okhttp3.Protocol
    import okhttp3.internal.http.StatusLine.Companion.parse
    import org.junit.jupiter.api.Test
    
    class StatusLineTest {
      @Test
      fun parse() {
        val message = "Temporary Redirect"
        val version = 1
        val code = 200
        val statusLine = parse("HTTP/1.$version $code $message")
        assertThat(statusLine.message).isEqualTo(message)
        assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_1)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  7. internal/config/identity/openid/help.go

    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         RedirectURIDynamic,
    			Description: `Enable 'Host' header based dynamic redirect URI` + defaultHelpPostfix(RedirectURIDynamic),
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         ClaimPrefix,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 4.3K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       *
       * * It may be transformed by the user's interceptors. For example, an application interceptor
       *   may add headers like `User-Agent`.
       * * It may be the request generated in response to an HTTP redirect or authentication
       *   challenge. In this case the request URL may be different than the initial request URL.
       *
       * Use the `request` of the [networkResponse] field to get the wire-level request that was
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  9. docs/de/docs/advanced/custom-response.md

    Dies ist der ideale Weg, um die beste Leistung zu erzielen.
    
    ///
    
    ### `RedirectResponse` { #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:
    
    {* ../../docs_src/custom_response/tutorial006_py310.py hl[2,9] *}
    
    ---
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/custom-response.md

    This is the ideal way to get the best performance.
    
    ///
    
    ### `RedirectResponse` { #redirectresponse }
    
    Returns an HTTP redirect. Uses a 307 status code (Temporary Redirect) by default.
    
    You can return a `RedirectResponse` directly:
    
    {* ../../docs_src/custom_response/tutorial006_py310.py hl[2,9] *}
    
    ---
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
Back to Top