Uses of Interface
org.springframework.web.reactive.result.view.FragmentsRendering.Builder
Packages that use FragmentsRendering.Builder
Package
Description
Support for result handling through view resolution.
-
Uses of FragmentsRendering.Builder in org.springframework.web.reactive.result.view
Methods in org.springframework.web.reactive.result.view that return FragmentsRendering.BuilderModifier and TypeMethodDescriptionVariant offragment(String, Map)
with a view name only, where the fragment model also inherits model attributes from the shared model for the request.Add a fragment with a view name and a model.Variant offragment(String, Map)
with aFragment
.Add one or more header values under the given name.FragmentsRendering.Builder.headers
(Consumer<HttpHeaders> headersConsumer) Provides access to every header declared so far with the possibility to add, replace, or remove values.FragmentsRendering.Builder.status
(HttpStatusCode status) Specify the status to use for the response.static FragmentsRendering.Builder
Variant ofFragmentsRendering.with(String, Map)
with a view name only, but also inheriting model attributes from the shared model for the request.static FragmentsRendering.Builder
Create a builder and add a fragment with a view name and a model.static FragmentsRendering.Builder
FragmentsRendering.withCollection
(Collection<Fragment> fragments) Variant ofFragmentsRendering.with(String, Map)
with a collection of fragments.static FragmentsRendering.Builder
FragmentsRendering.withProducer
(Object fragmentsProducer) Variant ofFragmentsRendering.withPublisher(Publisher)
that allows using any producer that can be resolved toPublisher
viaReactiveAdapterRegistry
.static <P extends Publisher<Fragment>>
FragmentsRendering.BuilderFragmentsRendering.withPublisher
(P fragmentsPublisher) Variant ofFragmentsRendering.with(String, Map)
with aPublisher
of fragments.