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
(javax.servlet.http.HttpServletRequest request) javax.servlet.FilterConfig
getCorsConfigForRequest
(javax.servlet.http.HttpServletRequest request) Deprecated.com.thetransactioncompany.cors.CORSFilter
getCorsFilterForRequest
(javax.servlet.http.HttpServletRequest request) Get contributed CORS Filter for an HttpServletRequest.
-
Method Details
-
getConfigForRequest
-
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, usegetCorsFilterForRequest(HttpServletRequest)
insteadGet contributed FilterConfig for an HttpServletRequest.- Returns:
- filter config to init CorsFilter if there is a matching request, null otherwise.
- Since:
- 5.7.2
-
getResponseHeaders
- Returns:
- a map with the header names to add to the HTTP response with their values
- Since:
- 6.0
-
getCorsFilterForRequest(HttpServletRequest)
instead