CorsConfiguration and updates
the response.
This component is not concerned with how a CorsConfiguration is
selected but rather takes follow-up actions such as applying CORS validation
checks and either rejecting the response or adding CORS headers to the
response.
org.springframework.web.servlet.handler.AbstractHandlerMapping#setCorsProcessor
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: false if the request is rejected, true otherwisethe applicable CORS configuration (possibly configuration, HttpServletRequest null)the current request request, HttpServletResponse the current response response)Process a request given a |
| processRequest | back to summary |
|---|---|
| public boolean processRequest(CorsConfiguration configuration, HttpServletRequest request, HttpServletResponse response) throws IOException Process a request given a
| |