Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 243 for unsuccessful (0.05 sec)

  1. src/test/java/jcifs/http/NtlmServletTest.java

            verify(response).setStatus(HttpServletResponse.SC_UNAUTHORIZED);
        }
    
        /**
         * Test the service method with a valid NTLM Authorization header.
         * Simulates a successful NTLM authentication.
         * @throws ServletException
         * @throws IOException
         * @throws CIFSException
         */
        @Test
        void testService_NtlmAuth_Success() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

            // Test with an unrecognized field in the ticket
            // Note: In the actual implementation, field 99 would come after mandatory fields,
            // so decryption happens first. We test with a mocked successful decryption.
            byte[] token = createTestTicketBytes(new BigInteger(KerberosConstants.KERBEROS_VERSION), SERVER_REALM, SERVER_PRINCIPAL_NAME,
                    ENCRYPTION_TYPE, ENCRYPTED_DATA, 99);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

            .url("https://www.googleapis.com/urlshortener/v1/url?key=" + GOOGLE_API_KEY)
            .post(jsonRequestBody)
            .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 {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

         */
        public long getSequenceNumber() {
            return sequenceNumber;
        }
    
        /**
         * Gets the response sequence number returned by the server.
         * This should match the request sequence number in a successful response.
         *
         * @return the response sequence number
         */
        public long getResponseSequenceNumber() {
            return responseSequenceNumber;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java

            this.error = error;
            this.completed = true;
        }
    
        /**
         * Get error if request failed
         *
         * @return exception if failed, null if successful
         */
        public Exception getError() {
            return error;
        }
    
        /**
         * Check if request failed
         *
         * @return true if failed, false otherwise
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

                }
            };
            ComponentUtil.register(mockLanguageHelper, "languageHelper");
        }
    
        // Test execute() method with successful processing
        public void test_execute_success() {
            String result = updateLabelJob.execute();
            assertNotNull(result);
            assertTrue(result.contains("3 docs")); // 3 documents processed
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/witness/MockWitnessService.java

            }
        }
    
        /**
         * Simulate heartbeat processing
         *
         * @param registrationId the registration ID
         * @param sequenceNumber the sequence number
         * @return true if heartbeat was successful
         */
        public boolean processHeartbeat(String registrationId, long sequenceNumber) {
            MockRegistration registration = registrations.get(registrationId);
            if (registration != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

        val request =
          Request
            .Builder()
            .url("https://prod.idrix.eu/secure/")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    }
    
    object ConsoleCallbackHandler : CallbackHandler {
      override fun handle(callbacks: Array<Callback>) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. docs/features/calls.md

    If transparent compression was used, OkHttp will drop the corresponding response headers `Content-Encoding` and `Content-Length` because they don’t apply to the decompressed response body.
    
    If a conditional GET was successful, responses from the network and cache are merged as directed by the spec.
    
    ## Follow-up Requests
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

        assertThat(c.asMap().computeIfAbsent("hash-2", k -> "")).isEqualTo("");
      }
    
      public void testComputeIfPresent() {
        cache.put(key, "1");
        // simultaneous update for same key, expect count successful updates
        doParallelCacheOp(
            count,
            n -> {
              cache.asMap().computeIfPresent(key, (k, v) -> v + delimiter + n);
            });
        assertEquals(1, cache.size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top