Package | Description |
---|---|
org.springframework.web.servlet.function |
Provides the types that make up Spring's functional web framework for Servlet environments.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
ServerResponse.HeadersBuilder<B extends ServerResponse.HeadersBuilder<B>>
Defines a builder that adds headers to the response.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
ServerResponse.BodyBuilder
Defines a builder that adds a body to the response.
|
Modifier and Type | Method and Description |
---|---|
static ServerResponse.HeadersBuilder<?> |
ServerResponse.noContent()
Create a builder with a 204 No Content status.
|
static ServerResponse.HeadersBuilder<?> |
ServerResponse.notFound()
Create a builder with a 404 Not Found status.
|