Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,394 for REQUEST (0.39 sec)

  1. src/main/java/org/codelibs/fess/entity/RequestParameter.java

     */
    package org.codelibs.fess.entity;
    
    import java.util.Arrays;
    
    /**
     * Entity class representing a request parameter with a name and associated values.
     * This class encapsulates HTTP request parameters that can have multiple values,
     * such as query parameters, form parameters, or other request-related data.
     *
     * <p>This class is immutable and thread-safe. Once created, the parameter name
     * and values cannot be modified.</p>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt

     */
    class RecordedResponse(
      @JvmField val request: Request,
      val response: Response?,
      val webSocket: WebSocket?,
      val body: String?,
      val failure: IOException?,
    ) {
      fun assertRequestUrl(url: HttpUrl) =
        apply {
          assertThat(request.url).isEqualTo(url)
        }
    
      fun assertRequestMethod(method: String) =
        apply {
          assertThat(request.method).isEqualTo(method)
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
      public void run() throws Exception {
        for (int i = 0; i < 5; i++) {
          System.out.println("    Request: " + i);
    
          Request request = new Request.Builder()
              .url("https://api.github.com/search/repositories?q=http")
              .build();
    
          OkHttpClient clientForCall;
          if (i == 2) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  4. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

      private var client = clientTestRule.newClientBuilder().build()
    
      @StartStop
      private val server = MockWebServer()
    
      val request by lazy { Request(server.url("/")) }
    
      @Test
      fun suspendCall() {
        runTest {
          server.enqueue(MockResponse(body = "abc"))
    
          val call = client.newCall(request)
    
          call.executeAsync().use {
            withContext(Dispatchers.IO) {
              assertThat(it.body.string()).isEqualTo("abc")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java

            .callTimeout(10, TimeUnit.SECONDS)
            .build();
      }
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          System.out.println("Response completed: " + response);
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Sep 28 18:00:26 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java

    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class SynchronousGet {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  7. okhttp-sse/api/okhttp-sse.api

    	public static fun enqueue (Lokhttp3/Call;Lokhttp3/sse/EventSourceListener;)Lokhttp3/sse/EventSource;
    	public static fun process (Lokhttp3/Response;Lokhttp3/sse/EventSourceListener;)V
    	public abstract fun request ()Lokhttp3/Request;
    }
    
    public final class okhttp3/sse/EventSource$Companion {
    	public final fun enqueue (Lokhttp3/Call;Lokhttp3/sse/EventSourceListener;)Lokhttp3/sse/EventSource;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/path-operation-advanced-configuration.md

    You could do that with `openapi_extra`:
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial006.py hl[19:36, 39:40] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoRequest.java

     */
    package jcifs.internal.smb2.ioctl;
    
    /**
     * Request data for FSCTL_QUERY_NETWORK_INTERFACE_INFO
     *
     * This IOCTL has no input data - the request is empty
     */
    public class QueryNetworkInterfaceInfoRequest {
    
        /**
         * Create query network interface info request
         */
        public QueryNetworkInterfaceInfoRequest() {
            // No input data required for this IOCTL
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      /** Returns an output stream where the request body can be streamed. */
      @Throws(IOException::class)
      fun createRequestBody(
        request: Request,
        contentLength: Long,
      ): Sink
    
      /** This should update the HTTP engine's sentRequestMillis field. */
      @Throws(IOException::class)
      fun writeRequestHeaders(request: Request)
    
      /** Flush the request to the underlying socket. */
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top