- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for WebApiManager (0.3 sec)
-
src/main/java/org/codelibs/fess/api/WebApiManager.java
/** * Interface for managing web API request processing. * Implementations of this interface handle specific types of web API requests * by matching incoming requests and processing them accordingly. */ public interface WebApiManager { /** * Checks if the request matches this API manager. * @param request The HTTP servlet request. * @return True if the request matches, false otherwise. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/WebApiFilter.java
final WebApiManagerFactory webApiManagerFactory = ComponentUtil.getWebApiManagerFactory(); final WebApiManager webApiManager = webApiManagerFactory.get((HttpServletRequest) request); if (webApiManager == null) { chain.doFilter(request, response); } else { webApiManager.process((HttpServletRequest) request, (HttpServletResponse) response, chain); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java
*/ protected WebApiManager[] webApiManagers = {}; /** * Adds a web API manager to the factory. * * @param webApiManager The web API manager to add */ public void add(final WebApiManager webApiManager) { final List<WebApiManager> list = new ArrayList<>(); Collections.addAll(list, webApiManagers); list.add(webApiManager);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerTest.java
} public void test_matches_withNullRequest() { // Test null request handling WebApiManager manager = new TestWebApiManager("/api"); assertFalse(manager.matches(null)); } public void test_matches_withEmptyPath() { // Test empty path matching WebApiManager manager = new TestWebApiManager(""); TestHttpServletRequest request = new TestHttpServletRequest();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/BaseApiManager.java
/** * Base implementation for API managers providing common functionality. * Abstract class that provides format detection and response handling for web APIs. */ public abstract class BaseApiManager implements WebApiManager { private static final String API_FORMAT_TYPE = "apiFormatType"; /** Path prefix for API endpoints. */ protected String pathPrefix; /** * Enumeration of supported API format types.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.9K bytes - Viewed (0)