Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for parseQueryString (0.2 sec)

  1. src/test/java/org/codelibs/fess/filter/EncodingFilterTest.java

            Map<String, String[]> paramMap;
    
            paramMap = filter.parseQueryString("a=", "UTF-8");
            assertEquals(1, paramMap.size());
            assertEquals("", paramMap.get("a")[0]);
    
            paramMap = filter.parseQueryString("a", "UTF-8");
            assertEquals(1, paramMap.size());
            assertEquals("", paramMap.get("a")[0]);
    
            paramMap = filter.parseQueryString("=1", "UTF-8");
            assertEquals(1, paramMap.size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

            final String queryString = request.getQueryString();
            if (StringUtil.isNotBlank(queryString)) {
                return parseQueryString(queryString, enc);
            }
            return Collections.emptyMap();
        }
    
        protected Map<String, String[]> parseQueryString(final String queryString, final String enc) throws IOException {
            final Map<String, List<String>> paramListMap = new HashMap<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top