Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hasOpenSearchFile (0.07 sec)

  1. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

                }
            });
            final OsddHelper osddHelper = new OsddHelper();
            osddHelper.setContentType("application/opensearchdescription+xml");
            osddHelper.init();
            assertFalse(osddHelper.hasOpenSearchFile());
    
            try {
                osddHelper.asStream();
                fail();
            } catch (final Exception e) {
                assertEquals("Unsupported Open Search Description Document response.", e.getMessage());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/OsddHelper.java

                return false;
            }
    
            final String ssoType = fessConfig.getSsoType();
            return StringUtil.isBlank(ssoType) || Constants.NONE.equalsIgnoreCase(ssoType);
        }
    
        public boolean hasOpenSearchFile() {
            return osddFile != null;
        }
    
        public StreamResponse asStream() {
            if (osddFile == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

        protected void setupHtmlData(final ActionRuntime runtime) {
            super.setupHtmlData(runtime);
            systemHelper.setupSearchHtmlData(this, runtime);
    
            runtime.registerData("osddLink", osddHelper.hasOpenSearchFile());
            runtime.registerData("clipboardCopyIcon", fessConfig.isClipboardCopyIconEnabled());
    
            final List<Map<String, String>> labelTypeItems = labelTypeHelper.getLabelTypeItemList(SearchRequestType.SEARCH,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top