Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for doFilter (0.05 seconds)

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

            try {
                webApiFilter.doFilter(request, response, chain);
                fail("Expected ServletException");
            } catch (IOException e) {
                fail("Unexpected IOException: " + e.getMessage());
            } catch (ServletException e) {
                assertEquals("Test ServletException", e.getMessage());
            }
        }
    
        // Test doFilter when chain.doFilter throws IOException
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/http/NtlmHttpFilterTest.java

                    if (ntlm == null) {
                        chain.doFilter(request, response);
                    }
                }
            };
    
            customFilter.init(filterConfig);
            customFilter.doFilter(request, response, filterChain);
    
            // Should proceed without authentication when skipAuthentication is true
            verify(filterChain).doFilter(request, response);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/filter/LoadControlFilter.java

         */
        public LoadControlFilter() {
            // Default constructor
        }
    
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            if (!ComponentUtil.available()) {
                chain.doFilter(request, response);
                return;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Feb 10 04:24:02 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/filter/WebApiFilter.java

         * @param chain The filter chain
         * @throws IOException If an I/O error occurs
         * @throws ServletException If a servlet error occurs
         */
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            final WebApiManagerFactory webApiManagerFactory = ComponentUtil.getWebApiManagerFactory();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/filter/RateLimitFilter.java

         */
        public RateLimitFilter() {
            // Default constructor
        }
    
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            if (!ComponentUtil.available()) {
                chain.doFilter(request, response);
                return;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/filter/CorsFilter.java

        /**
         * HTTP OPTIONS method constant used for CORS preflight requests.
         */
        protected static final String OPTIONS = "OPTIONS";
    
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            final HttpServletRequest httpRequest = (HttpServletRequest) request;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

            mockRequest.setRequestURI("/search");
            testableFilter.doFilter(mockRequest, mockResponse, mockFilterChain);
            assertFalse(mockFilterChain.wasDoFilterCalled());
            assertEquals(429, mockResponse.getSendErrorCode());
    
            resetMocks();
            mockRequest.setRequestURI("/api/v1/search");
            testableFilter.doFilter(mockRequest, mockResponse, mockFilterChain);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

        }
    
        // Test with no Origin header
        @Test
        public void test_doFilter_noOriginHeader() throws IOException, ServletException {
            mockRequest.setHeader("Origin", null);
    
            corsFilter.doFilter(mockRequest, mockResponse, mockFilterChain);
    
            assertTrue(mockFilterChain.wasDoFilterCalled());
            assertFalse(corsHandlerFactory.wasGetCalled());
        }
    
        // Test with blank Origin header
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

        }
    
        /**
         * This method simply calls {@code negotiate( req, resp, false )}
         * and then {@code chain.doFilter}. You can override and call
         * negotiate manually to achive a variety of different behavior.
         */
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

         * @throws IOException if an I/O error occurs during processing
         * @throws ServletException if a servlet error occurs
         */
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            final HttpServletRequest req = (HttpServletRequest) request;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top