Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for doFilter (0.04 sec)

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

        }
    
        // Test with no Origin header
        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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (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();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. 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;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. 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 {
    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/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;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/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 {
    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/test/java/org/codelibs/fess/api/WebApiManagerTest.java

                response.getWriter().write("Complex response");
                chain.doFilter(request, response);
            }
        }
    
        // Test helper classes
    
        private static class TestFilterChain implements FilterChain {
            private boolean doFilterCalled = false;
    
            @Override
            public void doFilter(ServletRequest request, ServletResponse response) throws IOException, ServletException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top