Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 6,188 for _new (0.02 seconds)

  1. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

        public void test_nestedExceptions() {
            // Test nested exception handling
            Exception level3 = new RuntimeException("Level 3 error");
            Exception level2 = new IllegalStateException("Level 2 error", level3);
            Exception level1 = new IOException("Level 1 error", level2);
            SsoLoginException exception = new SsoLoginException("Top level SSO error", level1);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java

        HandshakeCertificates clientCertificates = new HandshakeCertificates.Builder()
            .addTrustedCertificate(localhostCertificate.certificate())
            .build();
        OkHttpClient client = new OkHttpClient.Builder()
            .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager())
            .build();
    
        Call call = client.newCall(new Request.Builder()
            .url(server.url("/"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 02 14:04:37 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/curl/CurlResponseTest.java

            assertArrayEquals(new String[] { "application/json", "text/html" }, acceptValues);
            assertArrayEquals(new String[] { "application/json", "text/html" }, acceptValuesLowercase);
            assertArrayEquals(new String[0], missingValues);
        }
    
        @Test
        public void testGetHeaderValueMultipleValues() {
            CurlResponse response = new CurlResponse();
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

      private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus());
    
      public void testRegister() {
        assertEquals(0, registry.getSubscribersForTesting(String.class).size());
    
        registry.register(new StringSubscriber());
        assertEquals(1, registry.getSubscribersForTesting(String.class).size());
    
        registry.register(new StringSubscriber());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public Tuple3<String, String, String>[] getVirtualHosts() {
                    return new Tuple3[] { new Tuple3<>("Host", "example.com", "site1"), new Tuple3<>("X-Forwarded-Host", "test.com", "site2"),
                            new Tuple3<>("Custom-Header", "custom.value", "site3") };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            // Test with no roles
            testUser.setRoleNames(new String[] {});
            assertFalse(fessUserBean.hasRoles(new String[] { "admin", "user" }));
    
            // Test with single role matching one of accepted
            testUser.setRoleNames(new String[] { "admin" });
            assertTrue(fessUserBean.hasRoles(new String[] { "admin", "user" }));
            assertTrue(fessUserBean.hasRoles(new String[] { "guest", "admin" }));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/curl/Curl.java

            return new CurlRequest(Method.POST, url);
        }
    
        /**
         * Creates a new CurlRequest with the HTTP PUT method for the specified URL.
         *
         * @param url the URL to which the PUT request will be sent
         * @return a new CurlRequest object configured with the PUT method and the specified URL
         */
        public static CurlRequest put(final String url) {
            return new CurlRequest(Method.PUT, url);
        }
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  8. docs/changelogs/changelog_2x.md

        that can monitor, rewrite, and retry calls. The [interceptors doc][interceptors] is a full
        introduction to this new API.
    
     *  New: APIs to iterate and selectively clear the response cache.
     *  New: Support for SOCKS proxies.
     *  New: Support for `TLS_FALLBACK_SCSV`.
     *  New: Update HTTP/2 support to `h2-16` and `hpack-10`.
     *  New: APIs to prevent retrying non-idempotent requests.
     *  Fix: Drop NPN support. Going forward we support ALPN only.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Given
            SecureKeyManager keyManager = new SecureKeyManager();
            byte[] encKey = new byte[16];
            byte[] decKey = new byte[16];
            new SecureRandom().nextBytes(encKey);
            new SecureRandom().nextBytes(decKey);
    
            Smb2EncryptionContext context =
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                }
                if (this.call) {
                    th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig()));
                    final TransCallNamedPipeResponse resp = new TransCallNamedPipeResponse(th.getConfig(), inB);
                    th.send(new TransCallNamedPipe(th.getConfig(), this.uncPath, buf, off, length), resp);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top