Uses of Interface
org.springframework.web.reactive.function.server.EntityResponse.Builder
Packages that use EntityResponse.Builder
Package
Description
Provides the types that make up Spring's functional web framework for Reactive environments.
- 
Uses of EntityResponse.Builder in org.springframework.web.reactive.function.serverMethods in org.springframework.web.reactive.function.server that return EntityResponse.BuilderModifier and TypeMethodDescriptionEntityResponse.Builder.allow(Set<HttpMethod> allowedMethods) Set the set of allowedHTTP methods, as specified by theAllowheader.EntityResponse.Builder.allow(HttpMethod... allowedMethods) Set the set of allowedHTTP methods, as specified by theAllowheader.EntityResponse.Builder.cacheControl(CacheControl cacheControl) Set the caching directives for the resource, as specified by the HTTP 1.1Cache-Controlheader.EntityResponse.Builder.contentLength(long contentLength) Set the length of the body in bytes, as specified by theContent-Lengthheader.EntityResponse.Builder.contentType(MediaType contentType) Set the media type of the body, as specified by theContent-Typeheader.EntityResponse.Builder.cookie(ResponseCookie cookie) Add the given cookie to the response.EntityResponse.Builder.cookies(Consumer<MultiValueMap<String, ResponseCookie>> cookiesConsumer) Manipulate this response's cookies with the given consumer.Set the entity tag of the body, as specified by theETagheader.static <T> EntityResponse.Builder<T>EntityResponse.fromObject(T body) Create a builder with the given object.static <T> EntityResponse.Builder<T>EntityResponse.fromProducer(T producer, Class<?> elementClass) Create a builder with the given producer.static <T> EntityResponse.Builder<T>EntityResponse.fromProducer(T producer, ParameterizedTypeReference<?> typeReference) Create a builder with the given producer.static <T,P extends Publisher<T>> 
 EntityResponse.Builder<P>EntityResponse.fromPublisher(P publisher, Class<T> elementClass) Create a builder with the given publisher.static <T,P extends Publisher<T>> 
 EntityResponse.Builder<P>EntityResponse.fromPublisher(P publisher, ParameterizedTypeReference<T> typeReference) Create a builder with the given publisher.Add the given header value(s) under the given name.EntityResponse.Builder.headers(HttpHeaders headers) Copy the given headers into the entity's headers map.Add a serialization hint likeJackson2CodecSupport.JSON_VIEW_HINTto customize how the body will be serialized.Customize the serialization hints with the given consumer.EntityResponse.Builder.lastModified(Instant lastModified) Set the time the resource was last changed, as specified by theLast-Modifiedheader.EntityResponse.Builder.lastModified(ZonedDateTime lastModified) Set the time the resource was last changed, as specified by theLast-Modifiedheader.Set the location of a resource, as specified by theLocationheader.EntityResponse.Builder.status(int status) Set the HTTP status.EntityResponse.Builder.status(HttpStatusCode status) Set the HTTP status.Configure one or more request header names (e.g.