Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for setAttribute (0.08 sec)

  1. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

        public void test_constructor_isQueryTrue() {
            getMockRequest().setAttribute(Constants.FIELD_LOGS, new HashMap<String, List<String>>());
            queryContext = new QueryContext("test", true);
            assertEquals("test", queryContext.getQueryString());
    
            // Verify that highlighting and field log are initialized
            assertNotNull(getMockRequest().getAttribute(Constants.HIGHLIGHT_QUERIES));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            @SuppressWarnings("unchecked")
            Map<String, String[]> resultDocIdsCache = (Map<String, String[]>) session.getAttribute(Constants.RESULT_DOC_ID_CACHE);
            if (resultDocIdsCache == null) {
                resultDocIdsCache = new LruHashMap<>(resultDocIdsCacheSize);
                session.setAttribute(Constants.RESULT_DOC_ID_CACHE, resultDocIdsCache);
            }
            return resultDocIdsCache;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmServletTest.java

                ntlmServlet.service(request, response);
    
                // Verify that user information is stored in the session
                verify(session).setAttribute("NtlmHttpAuth", ntlmAuth);
                verify(session).setAttribute("ntlmuser", "user");
                verify(session).setAttribute("ntlmdomain", "TEST_DOMAIN");
    
                // Verify that the chain continues
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            final SearchRequestParams params = rewrite(searchRequestParams);
    
            LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                request.setAttribute(Constants.REQUEST_LANGUAGES, params.getLanguages());
                request.setAttribute(Constants.REQUEST_QUERIES, params.getQuery());
            });
    
            String query = ComponentUtil.getQueryStringBuilder().params(params).sortField(params.getSort()).build();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

                    formBuf.append(StringEscapeUtils.escapeHtml4(entry.getKey()));
                    formBuf.append("\"/>");
                }
                request.setAttribute(queryKey, queryBuf.toString());
                request.setAttribute(formKey, formBuf.toString());
            }
        }
    
        /**
         * Redirects the user to the login page after storing current search parameters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                    byte[] challenge;
    
                    if (loadBalance) {
                        NtlmChallenge chal = (NtlmChallenge) ssn.getAttribute("NtlmHttpChal");
                        if (chal == null) {
                            chal = SmbSession.getChallengeForDomain();
                            ssn.setAttribute("NtlmHttpChal", chal);
                        }
                        dc = chal.dc;
                        challenge = chal.challenge;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                    final HttpSession session = request.getSession(false);
                    if (session != null && form.num != null) {
                        session.setAttribute(Constants.RESULTS_PER_PAGE, form.num);
                    }
                });
            }
            return doSearch(form);
        }
    
        /**
         * The previous page.
         * @param form The search form.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpFilter.java

                    if (this.loadBalance) {
                        NtlmChallenge chal = (NtlmChallenge) ssn.getAttribute("NtlmHttpChal");
                        if (chal == null) {
                            chal = getChallengeForDomain(this.defaultDomain);
                            ssn.setAttribute("NtlmHttpChal", chal);
                        }
                        dc = chal.dc;
                        challenge = chal.challenge;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                                }
                            }
                        }
                    }
                    query = buf.toString();
                    request.setAttribute(key, query);
                }
                return query;
            }).orElse(null);
        }
    
        /**
         * Creates HTML hidden form fields from request parameters that start with the specified prefix.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, StringUtil.EMPTY);
                factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_SCHEMA, StringUtil.EMPTY);
    
                for (final Map.Entry<String, Object> entry : attributeMap.entrySet()) {
                    factory.setAttribute(entry.getKey(), entry.getValue());
                }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
Back to top