Uses of Class
io.github.wimdeblauwe.hsbt.mvc.HtmxResponse
Packages that use HtmxResponse
-
Uses of HtmxResponse in io.github.wimdeblauwe.hsbt.mvc
Methods in io.github.wimdeblauwe.hsbt.mvc that return HtmxResponseModifier and TypeMethodDescriptionHtmxResponse.addTemplate(String template) Append the rendered template or fragment.HtmxResponse.addTrigger(String eventName) Set a HX-Trigger header.HtmxResponse.addTrigger(String eventName, String eventDetail, HxTriggerLifecycle step) Set a HX-Trigger (or HX-Trigger-After-Settle or HX-Trigger-After-Swap headers.HtmxResponse.and(HtmxResponse otherResponse) HtmxResponse.browserRedirect(String url) Can be used to do a client-side redirect to a new locationHtmxResponse.browserRefresh(boolean refresh) If set to "true" the client side will do a a full refresh of the pageHtmxResponse.pushHistory(String url) Pushes a new url into the history stackSet a CSS selector that updates the target of the content update to a different element on the pageMethods in io.github.wimdeblauwe.hsbt.mvc with parameters of type HtmxResponse