Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,344 for response (0.28 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

            .url("https://en.wikipedia.org/w/index.php")
            .post(formBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostForm().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java

    /**
     * Utility class for handling response data.
     */
    public final class ResponseDataUtil {
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private ResponseDataUtil() {
        }
    
        /**
         * Creates a temporary file containing the response body from the given ResponseData.
         *
         * @param responseData the response data containing the response body
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/middleware.md

    ///
    
    ### Antes y después de la `response`
    
    Puedes añadir código que se ejecute con la `request`, antes de que cualquier *path operation* la reciba.
    
    Y también después de que se genere la `response`, antes de devolverla.
    
    Por ejemplo, podrías añadir un custom header `X-Process-Time` que contenga el tiempo en segundos que tomó procesar la request y generar una response:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

          null
        } else {
          responseBuilder
        }
      }
    
      override fun reportedContentLength(response: Response): Long =
        when {
          !response.promisesBody() -> 0L
          else -> response.headersContentLength()
        }
    
      override fun openResponseBodySource(response: Response): Source = stream!!.source
    
      override fun peekTrailers(): Headers? = stream!!.peekTrailers()
    
      override fun cancel() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

            .post(ProgressRequestBody(requestBody, progressListener))
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
          println(response.body.string())
        }
      }
    
      private class ProgressRequestBody(
        private val delegate: RequestBody,
        private val progressListener: ProgressListener,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java

    import jcifs.Configuration;
    import jcifs.FileNotifyInformation;
    import jcifs.internal.NotifyResponse;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Response for SMB1 NT Transaction change notification.
     *
     * This response contains file system change notifications that occurred
     * in the monitored directory, such as file creation, modification, or deletion.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/PostString.java

            .post(RequestBody.create(postBody, MEDIA_TYPE_MARKDOWN))
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostString().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/Request.java

     * Extends the common request interface with type-safe response handling,
     * allowing requests to specify their expected response type.
     *
     * @author mbechler
     * @param <T> response type
     */
    public interface Request<T extends CommonServerMessageBlockResponse> extends CommonServerMessageBlockRequest {
    
        /**
         * Initializes and returns a response object for this request.
         *
         * @param tc the CIFS context
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmServlet.java

                    response.setHeader("WWW-Authenticate", "NTLM");
                    if (offerBasic) {
                        response.addHeader("WWW-Authenticate", "Basic realm=\"" + this.realm + "\"");
                    }
                    response.setHeader("Connection", "close");
                    response.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
                    response.flushBuffer();
                    return;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  10. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                CommonServerMessageBlock response = mock(CommonServerMessageBlock.class);
    
                // Sign with first digest
                digest1.sign(data, 0, data.length, request, response);
    
                // Verify with second digest (simulating server verification)
                boolean isValid = digest2.verify(data, 0, data.length, 0, response);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top