Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ServletException (0.05 sec)

  1. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            ServletException servletException = new ServletException();
    
            // Wrap it in ServletRuntimeException
            ServletRuntimeException runtimeException = new ServletRuntimeException(servletException);
    
            // Verify that the cause is correctly set
            assertNotNull(runtimeException);
            assertEquals(servletException, runtimeException.getCause());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

            // Execute and expect ServletException
            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());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

    import org.codelibs.fess.cors.CorsHandlerFactory;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    
    import jakarta.servlet.FilterChain;
    import jakarta.servlet.ServletException;
    import jakarta.servlet.ServletRequest;
    import jakarta.servlet.ServletResponse;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            public boolean authenticate(HttpServletResponse response) throws IOException, ServletException {
                return false;
            }
    
            @Override
            public void login(String username, String password) throws ServletException {
            }
    
            @Override
            public void logout() throws ServletException {
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            try {
                manager.process(request, response, chain);
                fail("Expected ServletException");
            } catch (ServletException e) {
                assertEquals("Test error", e.getMessage());
            }
        }
    
        public void test_process_withNullParameters() throws IOException, ServletException {
            // Test null parameter handling
            TestWebApiManager manager = new TestWebApiManager("/api");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

         * @param chain The filter chain.
         * @throws IOException If an I/O error occurs.
         * @throws ServletException If a servlet error occurs.
         */
        protected void processSuggestRequest(final HttpServletRequest request, final HttpServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            if (!acceptHttpMethod(request, GET)) {
                return;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

    import org.lastaflute.web.servlet.request.RequestManager;
    import org.lastaflute.web.servlet.session.SessionManager;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.servlet.FilterChain;
    import jakarta.servlet.ServletException;
    import jakarta.servlet.ServletInputStream;
    import jakarta.servlet.ServletOutputStream;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
Back to top