| Package | Description | 
|---|---|
| org.springframework.web.servlet.function | Provides the types that make up Spring's functional web framework for Servlet environments. | 
| Modifier and Type | Method and Description | 
|---|---|
| EntityResponse.Builder<T> | EntityResponse.Builder. allow(HttpMethod... allowedMethods)Set the set of allowed  HTTP methods, as specified
 by theAllowheader. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. allow(Set<HttpMethod> allowedMethods)Set the set of allowed  HTTP methods, as specified
 by theAllowheader. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. cacheControl(CacheControl cacheControl)Set the caching directives for the resource, as specified by the HTTP 1.1
  Cache-Controlheader. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. contentLength(long contentLength)Set the length of the body in bytes, as specified by the
  Content-Lengthheader. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. contentType(MediaType contentType)Set the media type of the body, as specified by the
  Content-Typeheader. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. cookie(Cookie cookie)Add the given cookie to the response. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. cookies(Consumer<MultiValueMap<String,Cookie>> cookiesConsumer)Manipulate this response's cookies with the given consumer. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. eTag(String etag)Set the entity tag of the body, as specified by the  ETagheader. | 
| static <T> EntityResponse.Builder<T> | EntityResponse. fromObject(T t)Create a builder with the given object. | 
| static <T> EntityResponse.Builder<T> | EntityResponse. fromObject(T t,
          ParameterizedTypeReference<T> entityType)Create a builder with the given object and type reference. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. header(String headerName,
      String... headerValues)Add the given header value(s) under the given name. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. headers(Consumer<HttpHeaders> headersConsumer)Manipulate this response's headers with the given consumer. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. lastModified(Instant lastModified)Set the time the resource was last changed, as specified by the
  Last-Modifiedheader. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. lastModified(ZonedDateTime lastModified)Set the time the resource was last changed, as specified by the
  Last-Modifiedheader. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. location(URI location)Set the location of a resource, as specified by the  Locationheader. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. status(HttpStatus status)Set the HTTP status. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. status(int status)Set the HTTP status. | 
| EntityResponse.Builder<T> | EntityResponse.Builder. varyBy(String... requestHeaders)Configure one or more request header names (e.g. |