Uses of Interface
org.springframework.web.servlet.view.FragmentsRendering.Builder
Packages that use 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
Methods in org.springframework.web.servlet.view that return FragmentsRendering.BuilderModifier 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 ofModelAndViews.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.BuilderVariant ofFragmentsRendering.with(String, Map)with a view name only, but also inheriting model attributes from the shared model for the request.static FragmentsRendering.BuilderCreate a builder and add a fragment with a view name and a model.static FragmentsRendering.BuilderFragmentsRendering.with(Collection<ModelAndView> fragments) Variant ofFragmentsRendering.with(String, Map)with a collection of fragments.