Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,292 for RESPONSE (0.04 sec)

  1. docs/features/interceptors.md

            request.url(), chain.connection(), request.headers()));
    
        Response response = chain.proceed(request);
    
        long t2 = System.nanoTime();
        logger.info(String.format("Received response for %s in %.1fms%n%s",
            response.request().url(), (t2 - t1) / 1e6d, response.headers()));
    
        return response;
      }
    }
    ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

              .build(),
          )
        call.execute().use { response ->
          assertThat(response.headers)
            .isEqualTo(headersOf("h1", "v1", "h2", "v2"))
          val responseBody = response.body.source()
          assertThat(responseBody.readUtf8(2)).isEqualTo("ok")
          assertThat(responseBody.exhausted()).isTrue()
          assertThat(response.trailers()).isEqualTo(headersOf("trailers", "boom"))
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

        }
    
        private int parseResponseCode() throws IOException {
            try {
                final String response = connection.getHeaderField(0);
                int index = response.indexOf(' ');
                while (response.charAt(index) == ' ') {
                    index++;
                }
                return Integer.parseInt(response.substring(index, index + 3));
            } catch (final Exception ex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

            assertEquals(0, response.parameterDisplacement);
            assertEquals(15, response.dataCount);
            assertEquals(40, response.dataOffset);
            assertEquals(0, response.dataDisplacement);
            assertEquals(0, response.setupCount);
        }
    
        @Test
        void testReadParameterWordsWireFormat_bufDataStartIsNotZero() {
            // Test case when bufDataStart is not 0.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

        private NtTransQuerySecurityDescResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new NtTransQuerySecurityDescResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor creates instance with null security descriptor")
        void testConstructor() {
            assertNotNull(response);
            assertNull(response.getSecurityDescriptor());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/path-operation-configuration.md

    <img src="/img/tutorial/path-operation-configuration/image02.png">
    
    ## Beschreibung der Response
    
    Die Response können Sie mit dem Parameter `response_description` beschreiben:
    
    {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[19] *}
    
    /// info
    
    beachten Sie, dass sich `response_description` speziell auf die Response bezieht, während `description` sich generell auf die *Pfadoperation* bezieht.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/PostFile.java

            .post(RequestBody.create(file, 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 PostFile().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            verify(response).setUid(1000);
    
            doNothing().when(response).setExtendedSecurity(true);
            response.setExtendedSecurity(true);
            verify(response).setExtendedSecurity(true);
    
            doNothing().when(response).setSessionId(999L);
            response.setSessionId(999L);
            verify(response).setSessionId(999L);
    
            // Test reset method
            doNothing().when(response).reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // Test reset method
            response.reset();
            assertFalse((boolean) isReceivedMethod.invoke(response));
        }
    
        @Test
        @DisplayName("Should handle getNextResponse correctly")
        void testGetNextResponse() {
            // When
            CommonServerMessageBlockResponse nextResponse = response.getNextResponse();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        }
    
        /**
         * Checks if this response has a response body.
         *
         * @return true if the response has a body (either as bytes or file), false otherwise
         */
        public boolean hasResponseBody() {
            return responseBodyBytes != null || responseBodyFile != null;
        }
    
        /**
         * Gets the response body as an InputStream.
         * If the response body is stored as bytes, returns a ByteArrayInputStream.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top