Package | Description |
---|---|
org.springframework.http.server |
Contains an abstraction over server-side HTTP.
|
org.springframework.web.cors |
Support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor strategy. |
Modifier and Type | Class and Description |
---|---|
class |
DelegatingServerHttpResponse
Implementation of
ServerHttpResponse that delegates all calls to a
given target ServerHttpResponse . |
class |
ServletServerHttpResponse
ServerHttpResponse implementation that is based on a HttpServletResponse . |
Modifier and Type | Method and Description |
---|---|
ServerHttpResponse |
DelegatingServerHttpResponse.getDelegate()
Returns the target response that this response delegates to.
|
Modifier and Type | Method and Description |
---|---|
ServerHttpAsyncRequestControl |
ServerHttpRequest.getAsyncRequestControl(ServerHttpResponse response)
Return a control that allows putting the request in asynchronous mode so the
response remains open until closed explicitly from the current or another thread.
|
ServerHttpAsyncRequestControl |
ServletServerHttpRequest.getAsyncRequestControl(ServerHttpResponse response) |
Constructor and Description |
---|
DelegatingServerHttpResponse(ServerHttpResponse delegate)
Create a new
DelegatingServerHttpResponse . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultCorsProcessor.handleInternal(ServerHttpRequest request,
ServerHttpResponse response,
CorsConfiguration config,
boolean preFlightRequest)
Handle the given request.
|
protected void |
DefaultCorsProcessor.rejectRequest(ServerHttpResponse response)
Invoked when one of the CORS checks failed.
|