Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for ParamMap (0.07 sec)

  1. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

            }
    
            final Map<String, String[]> paramMap = new HashMap<>(paramListMap.size());
            for (final Map.Entry<String, List<String>> entry : paramListMap.entrySet()) {
                final List<String> list = entry.getValue();
                paramMap.put(entry.getKey(), list.toArray(new String[list.size()]));
            }
            return paramMap;
        }
    
        @Override
        public void destroy() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfig.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String proxyHost = fessConfig.getHttpProxyHost();
            final String proxyPort = fessConfig.getHttpProxyPort();
            if (StringUtil.isNotBlank(proxyHost) && StringUtil.isNotBlank(proxyPort)) {
                paramMap.put(Param.Client.PROXY_HOST, proxyHost);
                paramMap.put(Param.Client.PROXY_PORT, proxyPort);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    }
                }
            });
        }
    
        protected String getParamValue(final DataStoreParams paramMap, final String key, final String defaultValue) {
            return paramMap.getAsString(key, defaultValue);
        }
    
        protected void addDocument(final DataStoreParams paramMap, final Map<String, Object> dataMap) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            if (StringUtil.isEmpty(template)) {
                return StringUtil.EMPTY;
            }
    
            if (paramMap.containsKey(template)) {
                return paramMap.get(template);
            }
    
            return ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(template, paramMap);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

            return (u, m) -> {
                final Map<String, Object> paramMap = new HashMap<>();
                paramMap.put("url", u);
                paramMap.put("matcher", m);
                final Object value =
                        ComponentUtil.getScriptEngineFactory().getScriptEngine(Constants.DEFAULT_SCRIPT).evaluate(template, paramMap);
                if (value == null) {
                    return u;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

        private static final Logger logger = LogManager.getLogger(GroovyEngine.class);
    
        @Override
        public Object evaluate(final String template, final Map<String, Object> paramMap) {
            final Map<String, Object> bindingMap = new HashMap<>(paramMap);
            bindingMap.put("container", SingletonLaContainerFactory.getContainer());
            final GroovyShell groovyShell = new GroovyShell(new Binding(bindingMap));
            try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

        // ExecutorService executorService = Executors.newFixedThreadPool(1);
        //
        // // HttpClient Parameters
        // Map<String, Object> paramMap = new HashMap<String, Object>();
        // httpClient.setInitParameterMap(paramMap);
        //
        // DigestScheme digestScheme = new DigestScheme();
        // List<Authentication> basicAuthList = new ArrayList<Authentication>();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java

            //  Parameters
            final Map<String, Object> paramMap = new HashMap<>();
            factory.setInitParameterMap(paramMap);
    
            final Map<String, String> clientConfigMap = getConfigParameterMap(ConfigName.CLIENT);
            if (clientConfigMap != null) {
                paramMap.putAll(clientConfigMap);
            }
    
            // auth params
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

        protected Map<String, Object> ingest(final DataStoreParams paramMap, final Map<String, Object> dataMap) {
            if (ingestFactory == null) {
                return dataMap;
            }
            Map<String, Object> target = dataMap;
            for (final Ingester ingester : ingestFactory.getIngesters()) {
                try {
                    target = ingester.process(target, paramMap);
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

        }
    
        protected void buildInitParamMap(final Map<String, String> paramMap, final String queryKey, final String formKey) {
            if (!paramMap.isEmpty()) {
                final StringBuilder queryBuf = new StringBuilder(100);
                final StringBuilder formBuf = new StringBuilder(100);
                for (final Map.Entry<String, String> entry : paramMap.entrySet()) {
                    queryBuf.append('&');
    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