Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 94 for setPort (0.05 seconds)

  1. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

        /**
         * Get the actual port the server is listening on.
         * This is useful when starting the server with port 0 to get a random available port.
         *
         * @return the actual port number
         */
        public int getPort() {
            return ((ServerConnector) server.getConnectors()[0]).getLocalPort();
        }
    
        /**
         * Update the port in sitemaps files after the server has started.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

             * Gets the port number from the FTP URL.
             * Returns the default FTP port (21) if no port is specified.
             *
             * @return The port number
             */
            public int getPort() {
                int port = uri.getPort();
                if (port == -1) {
                    port = DEFAULT_FTP_PORT;
                }
                return port;
            }
    
            /**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 40K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/FessBoot.java

            final String tempPath = System.getProperty(FESS_TEMP_PATH);
            if (tempPath != null) {
                System.setProperty(JAVA_IO_TMPDIR, tempPath);
            }
    
            final TomcatBoot tomcatBoot = new FessBoot(getPort(), getContextPath()) //
                    .useTldDetect(); // for JSP
            final String varPath = System.getProperty(FESS_VAR_PATH);
            if (varPath != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

                }
    
                @Override
                public FacetInfo getFacetInfo() {
                    return null;
                }
    
                @Override
                public String getSort() {
                    return null;
                }
    
                @Override
                public int getStartPosition() {
                    return 0;
                }
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

            outContent = new ByteArrayOutputStream();
            errContent = new ByteArrayOutputStream();
            System.setOut(new PrintStream(outContent));
            System.setErr(new PrintStream(errContent));
        }
    
        @AfterEach
        void restoreStreams() {
            System.setOut(originalOut);
            System.setErr(originalErr);
        }
    
        @Test
        @DisplayName("TestLocking fields are properly initialized")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getPort()
         */
        @Override
        public int getPort() {
            return this.url.getPort();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getURL()
         */
        @Override
        public URL getURL() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/net/HostAndPort.java

     *
     * {@snippet :
     * HostAndPort hp =
     *     HostAndPort.fromString("[2001:db8::1]")
     *         .withDefaultPort(80)
     *         .requireBracketsForIPv6();
     * hp.getHost();  // returns "2001:db8::1"
     * hp.getPort();  // returns 80
     * hp.toString(); // returns "[2001:db8::1]:80"
     * }
     *
     * <p>Here are some examples of recognized formats:
     *
     * <ul>
     *   <li>example.com
     *   <li>example.com:80
     *   <li>192.0.2.1
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  8. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

      @Synchronized override fun before() {
        if (started) return
        try {
          start()
        } catch (e: IOException) {
          throw RuntimeException(e)
        }
      }
    
      @JvmName("-deprecated_port")
      fun getPort(): Int = port
    
      fun toProxyAddress(): Proxy {
        before() // This implicitly starts the delegate.
        return delegate.proxyAddress
      }
    
      @JvmName("-deprecated_serverSocketFactory")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 00:19:42 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/Handler.java

            }
            super.parseURL(u, spec, start, limit);
            path = u.getPath();
            ref = u.getRef();
            if (ref != null) {
                path += '#' + ref;
            }
            port = u.getPort();
            if (port == -1) {
                port = getDefaultPort();
            }
            setURL(u, "smb", u.getHost(), port, u.getAuthority(), u.getUserInfo(), path, u.getQuery(), null);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/Handler.java

            }
            super.parseURL(u, spec, start, limit);
            path = u.getPath();
            ref = u.getRef();
            if (ref != null) {
                path += '#' + ref;
            }
            port = u.getPort();
            if (port == -1) {
                port = getDefaultPort();
            }
            setURL(u, "smb", u.getHost(), port, u.getAuthority(), u.getUserInfo(), path, u.getQuery(), null);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top