# Uses of Interface
org.springframework.web.servlet.function.ServerResponse.HeadersBuilder

Packages that use ServerResponse.HeadersBuilder
Package
Description
org.springframework.web.servlet.function
Provides the types that make up Spring's functional web framework for Servlet environments.

## Uses of ServerResponse.HeadersBuilder in org.springframework.web.servlet.function

Classes in org.springframework.web.servlet.function with type parameters of type ServerResponse.HeadersBuilder
Modifier and Type
Interface
Description
`static interface`
`ServerResponse.HeadersBuilder<B extends ServerResponse.HeadersBuilder<B>>`
Defines a builder that adds headers to the response.
Subinterfaces of ServerResponse.HeadersBuilder in org.springframework.web.servlet.function
Modifier and Type
Interface
Description
`static interface`
`ServerResponse.BodyBuilder`
Defines a builder that adds a body to the response.
Methods in org.springframework.web.servlet.function that return ServerResponse.HeadersBuilder
Modifier and Type
Method
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.