Interface FragmentsRendering


public interface FragmentsRendering
Public API to render HTML fragments. A fragment is a portion of an HTML page. Normally HTML is rendered with a single model and view. This API allows using multiple model and view pairs, one for each HTML fragment.

For use with frontends technologies such as htmx where multiple page fragments may be rendered in one response.

Supported as a return value from annotated controller methods. For full page rendering with a single model and view, use Rendering.

Since:
6.2
Author:
Rossen Stoyanchev