Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for ServletException (0.07 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/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)
  3. 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)
  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/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)
  6. src/test/java/jcifs/http/NetworkExplorerTest.java

            networkExplorer = new NetworkExplorer() {
                @Override
                public void init(ServletConfig config) throws ServletException {
                    try {
                        setFieldsViaReflection(this, false, "jCIFS");
                    } catch (Exception e) {
                        throw new ServletException(e);
                    }
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmServletTest.java

            @Override
            protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
                // Do nothing - just for testing
            }
    
            @Override
            protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
                // Do nothing - just for testing
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmHttpFilterTest.java

                        throws IOException, ServletException {
                    if (skipAuthentication) {
                        return null;
                    }
                    return super.negotiate(req, resp, skipAuthentication);
                }
    
                @Override
                public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmSsp.java

         * @throws IOException If an IO error occurs.
         * @throws ServletException If an error occurs.
         */
        public NtlmPasswordAuthentication doAuthentication(final HttpServletRequest req, final HttpServletResponse resp, final byte[] challenge)
                throws IOException, ServletException {
            return authenticate(req, resp, challenge);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmServlet.java

            } catch (final CIFSException ex) {
                throw new ServletException("Failed to initialize config", ex);
            }
        }
    
        @Override
        protected void service(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException {
            Address dc;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
Back to top