Class HtmxResponse<T>

java.lang.Object
io.micronaut.views.htmx.http.HtmxResponse<T>
Type Parameters:
T - The model type

public final class HtmxResponse<T> extends Object
HTMX Response.
Since:
5.2.0
Author:
Sergio del Amo
  • Method Details

    • getModelAndViews

      public List<ModelAndView<T>> getModelAndViews()
      Returns:
      List of Model and Views
    • builder

      @NonNull public static <T> @NonNull HtmxResponse.Builder<T> builder()
      Type Parameters:
      T - Model Type
      Returns:
      An HTMX Response Builder