Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,344 for response (0.04 sec)

  1. samples/guide/src/main/java/okhttp3/guide/GetExample.java

    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public class GetExample {
      final OkHttpClient client = new OkHttpClient();
    
      String run(String url) throws IOException {
        Request request = new Request.Builder()
            .url(url)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          return response.body().string();
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmUtil.java

            hmac.digest(response, 0, 16);
            System.arraycopy(clientChallenge, 0, response, 16, 8);
            return response;
        }
    
        /**
         * Generate the Unicode MD4 hash for the password associated with these credentials.
         *
         * @param password the password to hash
         * @param challenge the server challenge bytes
         * @return the calculated response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

      @Test fun peekShorterThanResponse() {
        val response = newResponse(responseBody("abcdef"))
        val peekedBody = response.peekBody(3)
        assertThat(peekedBody.string()).isEqualTo("abc")
        assertThat(response.body.string()).isEqualTo("abcdef")
      }
    
      @Test fun peekLongerThanResponse() {
        val response = newResponse(responseBody("abc"))
        val peekedBody = response.peekBody(6)
        assertThat(peekedBody.string()).isEqualTo("abc")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Lease V2 Create Context Response
     *
     * MS-SMB2 2.2.14.2.11
     */
    public class LeaseV2CreateContextResponse implements CreateContextResponse {
    
        /**
         * Context name for lease V2 response
         */
        public static final String CONTEXT_NAME = "RqL2";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top