Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,292 for RESPONSE (0.04 sec)

  1. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

            .url(url)
            .build();
        try (Response response = client.newCall(request).execute()) {
          String responseSource = response.networkResponse() != null ? ("(network: "
              + response.networkResponse().code()
              + " over "
              + response.protocol()
              + ")") : "(cache)";
          int responseCode = response.code();
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println("Server: ${response.header("Server")}")
          println("Date: ${response.header("Date")}")
          println("Vary: ${response.headers("Vary")}")
        }
      }
    }
    
    fun main() {
      AccessHeaders().run()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SigningDigest.java

         */
        void sign(final byte[] data, final int offset, final int length, final ServerMessageBlock request, final ServerMessageBlock response) {
            request.signSeq = signSequence;
            if (response != null) {
                response.signSeq = signSequence + 1;
                response.verifyFailed = false;
            }
    
            try {
                update(macSigningKey, 0, macSigningKey.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt

        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.handshake!!.cipherSuite).isNotNull()
        assertThat(response.handshake!!.tlsVersion).isNotNull()
        assertThat(response.handshake!!.localCertificates).isEmpty()
        assertThat(response.handshake!!.localPrincipal).isNull()
        assertThat(response.handshake!!.peerCertificates).isEmpty()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

    /**
     * This class represents the base response structure for API results.
     * It encapsulates the API response and provides methods to build different types of API responses.
     */
    public class ApiResult {
    
        /**
         * The API response object.
         */
        protected ApiResponse response = null;
    
        /**
         * Constructs an ApiResult with the specified ApiResponse.
         * @param response The API response object.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

            case "DHnQ": // Durable Handle Request/Response
                return new jcifs.internal.smb2.persistent.DurableHandleResponse();
            case "DH2Q": // Durable Handle V2 Request/Response
                return new jcifs.internal.smb2.persistent.DurableHandleV2Response();
            case "DHnC": // Durable Handle Reconnect Request/Response
                return new jcifs.internal.smb2.persistent.DurableHandleReconnectResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. docs/smb3-features/05-rdma-smb-direct-design.md

            
            RdmaNegotiateResponse response = rdmaConnection.negotiate(request);
            
            if (!response.isSuccess()) {
                throw new IOException("RDMA negotiation failed: " + response.getStatus());
            }
            
            // Update connection parameters based on negotiation
            credits.setCreditsGranted(response.getCreditsGranted());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  8. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

              e: IOException,
            ) {
              println("failed: $e")
            }
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              println("response: ${response.code}")
              response.close()
            }
          },
        )
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Aug 19 08:10:39 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top