Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for setSecond (0.15 sec)

  1. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            final String value = clientConfigMap.get(CRAWLER_CLIENTS);
            final CrawlerClient client = getClientRuleList(value).stream().map(e -> {
                if (e.getSecond().matcher(url).matches()) {
                    return e.getFirst();
                }
                return null;
            }).filter(StringUtil::isNotBlank).findFirst()//
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

            final Pair<String[], String[]> groupsAndRoles = getParentGroup(user, id);
            StreamUtil.stream(groupsAndRoles.getFirst()).of(stream -> stream.forEach(groupList::add));
            StreamUtil.stream(groupsAndRoles.getSecond()).of(stream -> stream.forEach(roleList::add));
        }
    
        protected Pair<String[], String[]> getParentGroup(final AzureAdUser user, final String id) {
            try {
                return groupCache.get(id, () -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                responseData.setMimeType(statObject.contentType());
                statObject.headers().forEach(e -> responseData.addMetaData(e.getFirst(), e.getSecond()));
    
                if (contentLengthHelper != null) {
                    final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType());
                    if (responseData.getContentLength() > maxLength) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                    List<RequestData> requestDataList = new ArrayList<>();
                    for (final String childUrl : getUrlFromTagAttribute(url, document, entry.getFirst(), entry.getSecond(),
                            responseData.getCharSet())) {
                        requestDataList.add(RequestDataBuilder.newRequestData().get().url(childUrl).build());
                    }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertEquals(1, designJspFileNames.length);
            assertEquals("xxx", designJspFileNames[0].getFirst());
            assertEquals("yyy", designJspFileNames[0].getSecond());
        }
    
        public void test_setForceStop() {
            assertFalse(systemHelper.isForceStop());
            systemHelper.setForceStop(true);
            assertTrue(systemHelper.isForceStop());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

        }
    
        @Override
        protected void writeHeaders(final HttpServletResponse response) {
            ComponentUtil.getFessConfig().getApiJsonResponseHeaderList().forEach(e -> response.setHeader(e.getFirst(), e.getSecond()));
        }
    
        protected void writeJsonResponse(final int status, final Throwable t) {
            final Supplier<String> stacktraceString = () -> {
                final StringBuilder buf = new StringBuilder(100);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    }
                }
            }
    
            formSchemeList.forEach(p -> {
                final FormScheme scheme = p.getFirst();
                final Credentials credentials = p.getSecond();
                scheme.authenticate(credentials, (request, consumer) -> {
    
                    // request header
                    for (final Header header : requestHeaderList) {
                        request.addHeader(header);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top