Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for conn (0.02 sec)

  1. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

        path: String,
        responseCode: AtomicInteger,
      ): Thread =
        Thread {
          val url = mockWebServer.url(path).toUrl()
          val conn: HttpURLConnection
          try {
            conn = url.openConnection() as HttpURLConnection
            responseCode.set(conn.responseCode) // Force the connection to hit the "server".
          } catch (ignored: IOException) {
          }
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/net/JarURLConnectionUtil.java

         *
         * @param conn
         *            {@link JarURLConnection}. Must not be {@literal null}.
         * @return {@link JarFile}
         */
        public static JarFile getJarFile(final JarURLConnection conn) {
            assertArgumentNotNull("conn", conn);
    
            try {
                return conn.getJarFile();
            } catch (final IOException e) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/CurlRequestTest.java

        }
    
        @Test
        public void testOnConnectMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            CurlRequest result = request.onConnect((req, conn) -> {
                conn.setConnectTimeout(5000);
            });
    
            assertSame(request, result); // Fluent API
        }
    
        @Test
        public void testParamMethod() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

        public void test_getConfPath() {
            Path confPath = ResourceUtil.getConfPath("test.conf");
            assertNotNull(confPath);
    
            // Test with empty names
            confPath = ResourceUtil.getConfPath();
            assertNotNull(confPath);
    
            // Test with multiple names
            confPath = ResourceUtil.getConfPath("dir1", "dir2", "file.conf");
            assertNotNull(confPath);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ResourceUtil.java

        }
    
        /**
         * Gets the path to configuration files. In Docker environments, checks /opt/fess first,
         * then falls back to system property FESS_CONF_PATH, and finally to WEB-INF/conf.
         *
         * @param names the path components to append to the configuration directory
         * @return the Path object pointing to the configuration file or directory
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/CurlRequest.java

                    try {
                        if (con.getResponseCode() < 400) {
                            if (GZIP.equals(con.getContentEncoding())) {
                                return new GZIPInputStream(con.getInputStream());
                            } else {
                                return con.getInputStream();
                            }
                        } else if ("head".equalsIgnoreCase(con.getRequestMethod())) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. pom.xml

    							<dst>${packaging.fess.systemd.sysctl.dir}/fess.conf</dst>
    						</data>
    						<!-- Adds systemd/tmpfiles.d configuration file -->
    						<data>
    							<type>file</type>
    							<src>${project.build.directory}/generated-packaging/deb/systemd/fess.conf</src>
    							<dst>${packaging.fess.tmpfilesd.dir}/fess.conf</dst>
    						</data>
    						<!-- Add lintian files -->
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Sep 04 05:22:58 UTC 2025
    - 49.6K bytes
    - Viewed (0)
  8. .gitignore

    /src/main/webapp/WEB-INF/thumbnails/
    /src/main/webapp/jar/
    /dbflute_fess/extlib/*
    /dbflute_fess/log/*.log
    /dbflute_h2/log/*.log
    /dbflute_mysql/log/*.log
    /dbflute_oracle/log/*.log
    /src/main/webapp/WEB-INF/conf/*.properties
    /src/main/webapp/WEB-INF/db/*.lock.db
    /src/main/webapp/WEB-INF/logs/fess*
    /.settings/
    .project
    .classpath
    *.iml
    .idea
    .vscode
    .DS_Store
    /plugins/
    /modules/
    /tomcat.8080/
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

        /** Configuration key for Kerberos configuration file path. */
        protected static final String SPNEGO_KRB5_CONF = "spnego.krb5.conf";
    
        /** Configuration key for login configuration file path. */
        protected static final String SPNEGO_LOGIN_CONF = "spnego.login.conf";
    
        /** Configuration key for SPNEGO logger level. */
        protected static final String SPNEGO_LOGGER_LEVEL = "spnego.logger.level";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/jar/JarFileUtil.java

         */
        public static JarFile toJarFile(final URL jarUrl) {
            assertArgumentNotNull("jarUrl", jarUrl);
    
            final URLConnection con = URLUtil.openConnection(jarUrl);
            if (con instanceof JarURLConnection) {
                return JarURLConnectionUtil.getJarFile((JarURLConnection) con);
            }
            return create(new File(toJarFilePath(jarUrl)));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top