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 Summary
Modifier and TypeMethodDescriptiongetConfigForRequest
(jakarta.servlet.http.HttpServletRequest request) com.thetransactioncompany.cors.CORSFilter
getCorsFilterForRequest
(jakarta.servlet.http.HttpServletRequest request) Get contributed CORS Filter for an HttpServletRequest.
-
Method Details
-
getConfigForRequest
-
getCorsFilterForRequest
com.thetransactioncompany.cors.CORSFilter getCorsFilterForRequest(jakarta.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
-
getResponseHeaders
- Returns:
- a map with the header names to add to the HTTP response with their values
- Since:
- 6.0
-