Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 175 for readDirect (0.05 sec)

  1. 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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    form.autoExpandReplicasForDoc)) {
                saveInfo(messages -> messages.addSuccessStartedDataUpdate(GLOBAL));
            }
            return redirect(getClass());
        }
    
        /**
         * Reloads the document index by closing and reopening it.
         *
         * @param form the action form (validated but not used for configuration)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dfs/Referral.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Strings;
    
    /**
     * Represents a DFS (Distributed File System) referral entry containing server redirection information.
     * This class handles DFS referral responses that redirect clients to alternate servers for accessing
     * distributed file system resources, supporting multiple DFS versions and referral types.
     */
    public class Referral implements Decodable {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. 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)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. 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
        }
    
        /**
         * Import the file asynchronously.
         * @param fileName The file name.
         * @param tempFile The temporary file.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  9. 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:
    
    {* ../../docs_src/custom_response/tutorial006.py hl[2,9] *}
    
    ---
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/custom-docs-ui-assets.md

    Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper.
    
    ///
    
    ### Create a *path operation* to test it { #create-a-path-operation-to-test-it }
    
    Now, to be able to test that everything works, create a *path operation*:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top