Interface WebApiManager

All Known Implementing Classes:
BaseApiManager, SearchApiV2Manager, SearchEngineApiManager

public interface WebApiManager
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.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(jakarta.servlet.http.HttpServletRequest request)
    Checks if the request matches this API manager.
    void
    process(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.FilterChain chain)
    Processes the request through this API manager.
  • Method Details

    • matches

      boolean matches(jakarta.servlet.http.HttpServletRequest request)
      Checks if the request matches this API manager.
      Parameters:
      request - The HTTP servlet request.
      Returns:
      True if the request matches, false otherwise.
    • process

      void process(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException
      Processes the request through this API manager.
      Parameters:
      request - The HTTP servlet request.
      response - The HTTP servlet response.
      chain - The filter chain.
      Throws:
      IOException - If an input/output error occurs.
      jakarta.servlet.ServletException - If a servlet error occurs.