Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,177 for responses (0.05 sec)

  1. docs/de/docs/tutorial/middleware.md

    * Sie nimmt jeden **Request** entgegen, der an Ihre Anwendung gesendet wird.
    * Sie kann dann etwas mit diesem **Request** tun oder beliebigen Code ausführen.
    * Dann gibt sie den **Request** zur Verarbeitung durch den Rest der Anwendung weiter (durch eine bestimmte *Pfadoperation*).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

            .url("https://api.imgur.com/3/image")
            .post(requestBody)
            .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 PostMultipart().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 24 12:59:42 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

            synchronized (transport()) {
                if (response != null) {
                    response.received = false;
                }
    
                expiration = System.currentTimeMillis() + SmbConstants.SO_TIMEOUT;
                sessionSetup(request, response);
                if (response != null && response.received) {
                    return;
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmServletTest.java

            lenient().when(request.isSecure()).thenReturn(true);
    
            ntlmServlet.service(request, response);
    
            verify(response).setHeader("WWW-Authenticate", "NTLM");
            verify(response).addHeader("WWW-Authenticate", "Basic realm=\"TestRealm\"");
            verify(response).setStatus(HttpServletResponse.SC_UNAUTHORIZED);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt

      /**
       * Describes the request that the server intends to push a response for.
       *
       * @param streamId server-initiated stream ID: an even number.
       * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`,
       * and `:path`.
       */
      fun onRequest(
        streamId: Int,
        requestHeaders: List<Header>,
      ): Boolean
    
      /**
       * The response headers corresponding to a pushed request.  When [last] is true, there are
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

    /**
     * SMB1 Read AndX Response message.
     *
     * This response contains the data that was read from the file
     * along with information about the read operation.
     */
    public class SmbComReadAndXResponse extends AndXServerMessageBlock {
    
        private byte[] data;
        private int offset, dataCompactionMode, dataLength, dataOffset;
    
        /**
         * Constructs a Read AndX response.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            doNothing().when(messageBlock).setResponse(response);
            when(messageBlock.getResponse()).thenReturn(response);
    
            // When
            messageBlock.setResponse(response);
            CommonServerMessageBlockResponse retrievedResponse = messageBlock.getResponse();
    
            // Then
            assertEquals(response, retrievedResponse);
            verify(messageBlock).setResponse(response);
            verify(messageBlock).getResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

            assertEquals(2, response.action);
        }
    
        @Test
        void testSetServerFid() {
            response.serverFid = 456;
            assertEquals(456, response.serverFid);
        }
    
        @Test
        void testToString() {
            // Set up the response object with test values
            response.fid = 1;
            response.fileAttributes = 2;
            response.lastWriteTime = 3;
            response.dataSize = 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            byte[] response = NtlmPasswordAuthentication.getPreNTLMResponse("password", challenge);
            assertNotNull(response);
            assertEquals(24, response.length);
        }
    
        // Test getNTLMResponse
        @Test
        void testGetNTLMResponse() {
            byte[] challenge = { 1, 2, 3, 4, 5, 6, 7, 8 };
            byte[] response = NtlmPasswordAuthentication.getNTLMResponse("password", challenge);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt

          val request = SimpleHttpRequests.get("https://google.com/robots.txt")
          val response = client.execute(request, LoggingCallback).get()
    
          println("Protocol ${response.version}")
          println("Response ${response.code}")
          println("${response.body.bodyText.substring(0, 20)}...")
    
          Assert.assertEquals(ProtocolVersion("HTTP", 2, 0), response.version)
        }
      }
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top