private class AbstractHandlerMapping.PreFlightHandler extends java.lang.Object implements HttpRequestHandler
Modifier and Type | Field and Description |
---|---|
private CorsConfiguration |
config |
Constructor and Description |
---|
PreFlightHandler(CorsConfiguration config) |
Modifier and Type | Method and Description |
---|---|
void |
handleRequest(HttpServletRequest request,
HttpServletResponse response)
Process the given request, generating a response.
|
private final CorsConfiguration config
public PreFlightHandler(CorsConfiguration config)
public void handleRequest(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException
HttpRequestHandler
handleRequest
in interface HttpRequestHandler
request
- current HTTP requestresponse
- current HTTP responsejava.io.IOException
- in case of I/O errors