Package io.github.wimdeblauwe.htmx.spring.boot.mvc
package io.github.wimdeblauwe.htmx.spring.boot.mvc
-
ClassDescriptionHandlerInterceptor that adds htmx specific headers to the response.Represents the HX-Location response header value.A specialization of
RedirectViewthat can be used to signal htmx to perform a client-side redirect without reloading the page.A specialization ofRedirectViewthat can be used to signal htmx to perform a client-side redirect.A View that can be used to signal htmx to refresh the page.This class can be used as a controller method argument to access the htmx Request Headers.Enum representing the request headers used by htmx.A holder for htmx-related response headers that can be used as method argument in controllers.Deprecated.Deprecated.UsingHtmxResponseas handler method return value is deprecated, useHtmxView,HtmxRedirectVieworHtmxLocationRedirectViewinstead.Enum representing the response headers used by htmx.Represents a HX-Reswap response header value.Represents the position values used forHtmxReswap.scrollorHtmxReswap.show.Represents a value of HX-Trigger, HX-Trigger-After-Settle or HX-Trigger-After-Swap.Holder for constant values.View that can be used to return multiple views as fragments to be rendered together.Handles return values that are of typeHtmxView.A simple implementation ofViewResolverthat interprets a view name as htmx specific operations e.g.Annotation to do a client side redirect that does not do a full page reload.Annotation to push a URL into the browser location history.Annotation to do a client-side redirect to a new location.Annotation that signals htmx that a full page refresh should be performed.Annotation to replace the current URL in the browser location history.Annotation for mapping htmx requests onto specific handler method.Annotation to specify a CSS selector that allows you to choose which part of the response is used to be swapped in.Annotation to specify how the response will be swapped.Represents the values forHxReswap.focusScroll()Represents the position values forHxReswap.show()andHxReswap.scroll()Annotation to specify a CSS selector that updates the target of the content update to a different element on the page.Represents the swap options.Annotation to trigger client side events as soon as the response is received on the target element.Annotation to trigger client side events after the settling step on the target element.Annotation to trigger client side events after the swap step on the target element.Deprecated.use annotationHxTriggerAfterSettleorHxTriggerAfterSwapinstead.
HtmxResponseas handler method argument andHtmxView,HtmxRedirectVieworHtmxLocationRedirectViewas handler method return type instead.