Package io.micronaut.views.htmx.http
Class HtmxResponse.Builder<T>
java.lang.Object
io.micronaut.views.htmx.http.HtmxResponse.Builder<T>
- Type Parameters:
T
- Model Type
- Enclosing class:
- HtmxResponse<T>
HTMX Response Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
@NonNull HtmxResponse.Builder<T>
modelAndView
(ModelAndView<T> modelAndView)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
modelAndView
- Parameters:
modelAndView
- Model and View- Returns:
- The Builder
-
build
- Returns:
- Build an
HtmxResponse
-