Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getConnectors (0.07 seconds)

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

         * 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();
        }
    
        protected static File createDocRoot(final int count) {
            try {
                final File tempDir = File.createTempFile("crawlerDocRoot", "");
                tempDir.delete();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  2. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

         * 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.
         * This is needed when using port 0 (random port) because the actual port
    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)
Back to Top