Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for urlHost (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/Cookie.kt

        private fun domainMatch(
          urlHost: String,
          domain: String,
        ): Boolean {
          if (urlHost == domain) {
            return true // As in 'example.com' matching 'example.com'.
          }
    
          return urlHost.endsWith(domain) &&
            urlHost[urlHost.length - domain.length - 1] == '.' &&
            !urlHost.canParseAsIpAddress()
        }
    
        private fun pathMatch(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        val routeSelector = newRouteSelector(address)
        dns[uriHost] = dns.allocate(2)
        val selection = routeSelector.next()
        dns.assertRequests(uriHost)
        val routes = selection.routes
        assertRoute(routes[0], address, Proxy.NO_PROXY, dns.lookup(uriHost, 0), uriPort)
        assertRoute(routes[1], address, Proxy.NO_PROXY, dns.lookup(uriHost, 1), uriPort)
        assertThat(selection.next()).isSameAs(routes[0])
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            List<RequestData> urlList = new ArrayList<>();
    
            urlList = fessXpathTransformer.convertChildUrlList(urlList);
            assertEquals(0, urlList.size());
    
            urlList.clear();
            urlList.add(RequestDataBuilder.newRequestData().get().url("http://www.example.com").build());
            urlList = fessXpathTransformer.convertChildUrlList(urlList);
            assertEquals(1, urlList.size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

            }
            final List<String> urlList = new ArrayList<>();
            for (final FailureUrl failureUrl : list) {
                if (pattern != null) {
                    if (!pattern.matcher(failureUrl.getErrorName()).matches()) {
                        urlList.add(failureUrl.getUrl());
                    }
                } else {
                    urlList.add(failureUrl.getUrl());
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                logger.warn("Could not parse anchor tags.", e);
            }
    
            final List<String> urlList = new ArrayList<>(anchorList.size());
            for (final RequestData requestData : anchorList) {
                urlList.add(requestData.getUrl());
            }
            return urlList;
        }
    
        protected URL getBaseUrl(final String currentUrl, final String baseHref) throws MalformedURLException {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                            addChildUrlFromTagAttribute(urlList, url, attrValue, encoding);
                        }
                    }
                }
            } catch (final XPathException e) {
                logger.warn("Could not get urls: (" + xpath + ", " + attr + ")", e);
            }
            return urlList;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/cbean/cq/bs/BsFavoriteLogCQ.java

            not(not -> not.setUrl_Term(url), opLambda);
        }
    
        public void setUrl_Terms(Collection<String> urlList) {
            setUrl_Terms(urlList, null);
        }
    
        public void setUrl_Terms(Collection<String> urlList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
            TermsQueryBuilder builder = regTermsQ("url", urlList);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                    final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
                    final List<String> urlList = split(startUrls.toString(), "\n")
                            .get(stream -> stream.map(String::trim).filter(StringUtil::isNotBlank).collect(Collectors.toList()));
    
                    final String webUrls = urlList.stream().filter(s -> Arrays.stream(webProtocols).anyMatch(p -> s.startsWith(p)))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top