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 TypeMethodDescriptionVariant offragment(String, Map)
with a view name only, but also inheriting model attributes from the shared model for the request.Add a fragment with a view name and a model.FragmentsRendering.Builder.fragment
(ModelAndView fragment) Variant offragment(String, Map)
with aModelAndView
.FragmentsRendering.Builder.fragments
(Collection<ModelAndView> fragments) Variant offragment(String, Map)
with a collection ofModelAndView
s.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.with
(Collection<ModelAndView> fragments) Variant ofFragmentsRendering.with(String, Map)
with a collection of fragments.