Uses of Interface
org.springframework.web.servlet.view.FragmentsRendering.Builder
Package
Description
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
-
Uses of FragmentsRendering.Builder in org.springframework.web.servlet.view
Modifier and TypeMethodDescriptionAdd a fragment with a view name only, inheriting model attributes from the model for the request.Add a fragment with a view name and a model.FragmentsRendering.Builder.fragment
(ModelAndView fragment) Add a fragment.FragmentsRendering.Builder.fragments
(Collection<ModelAndView> fragments) Add a collection of fragments.Add the given, single header value 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 forFragmentsRendering
, adding a fragment with the given view name and model.static FragmentsRendering.Builder
FragmentsRendering.with
(Collection<ModelAndView> fragments) Variant ofFragmentsRendering.with(String, Map)
with a collection of fragments.