Package org.codelibs.fess.api
Class WebApiManagerFactory
java.lang.Object
org.codelibs.fess.api.WebApiManagerFactory
Factory class for managing and retrieving web API managers.
This factory maintains a collection of web API managers and provides
functionality to find the appropriate manager for incoming requests.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(WebApiManager webApiManager) Adds a web API manager to the factory.get(jakarta.servlet.http.HttpServletRequest request) Gets the appropriate web API manager for the given request.
-
Field Details
-
webApiManagers
Array of registered web API managers.
-
-
Constructor Details
-
WebApiManagerFactory
public WebApiManagerFactory()Default constructor.
-
-
Method Details
-
add
Adds a web API manager to the factory.- Parameters:
webApiManager- The web API manager to add
-
get
Gets the appropriate web API manager for the given request.- Parameters:
request- The HTTP servlet request- Returns:
- The matching web API manager, or null if no match found
-