Interface RequestControllerManager

  • All Known Implementing Classes:
    RequestControllerService

    public interface RequestControllerManager
    Interface for the service used to manage what HttpServletRequest must be protected by the Filter.
    Author:
    tiry
    • Method Detail

      • getConfigForRequest

        RequestFilterConfig getConfigForRequest​(javax.servlet.http.HttpServletRequest request)
      • getCorsFilterForRequest

        com.thetransactioncompany.cors.CORSFilter getCorsFilterForRequest​(javax.servlet.http.HttpServletRequest request)
        Get contributed CORS Filter for an HttpServletRequest.
        Returns:
        the CORS filter if there is a matching request, otherwise null
        Since:
        10.1
      • getCorsConfigForRequest

        @Deprecated
        javax.servlet.FilterConfig getCorsConfigForRequest​(javax.servlet.http.HttpServletRequest request)
        Deprecated.
        since 10.1, unused, use getCorsFilterForRequest(HttpServletRequest) instead
        Get contributed FilterConfig for an HttpServletRequest.
        Returns:
        filter config to init CorsFilter if there is a matching request, null otherwise.
        Since:
        5.7.2
      • getResponseHeaders

        Map<String,​String> getResponseHeaders()
        Returns:
        a map with the header names to add to the HTTP response with their values
        Since:
        6.0