- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for WebApiManager (0.07 sec)
-
src/main/java/org/codelibs/fess/api/WebApiManager.java
import java.io.IOException; import jakarta.servlet.FilterChain; import jakarta.servlet.ServletException; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; public interface WebApiManager { boolean matches(HttpServletRequest request); void process(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java
public class WebApiManagerFactory { protected WebApiManager[] webApiManagers = {}; public void add(final WebApiManager webApiManager) { final List<WebApiManager> list = new ArrayList<>(); Collections.addAll(list, webApiManagers); list.add(webApiManager); webApiManagers = list.toArray(new WebApiManager[list.size()]); } public WebApiManager get(final HttpServletRequest request) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.4K 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/BaseApiManager.java
import org.lastaflute.web.util.LaResponseUtil; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; public abstract class BaseApiManager implements WebApiManager { private static final String API_FORMAT_TYPE = "apiFormatType"; protected String pathPrefix; protected enum FormatType {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.3K bytes - Viewed (0)