Package io.micronaut.views.htmx.http
Class HtmxResponseHeaders
java.lang.Object
io.micronaut.views.htmx.http.HtmxResponseHeaders
HTMX Response Headers.
- Since:
- 5.2.0
- Author:
- Sergio del Amo
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Allows you to do a client-side redirect that does not do a full page reload.static final String
Pushes a new url into the history stack.static final String
Can be used to do a client-side redirect to a new location.static final String
Can be used to do a full refresh of the page on the client-side.static final String
Allows you to replace the current URL in the location bar.static final String
A CSS selector that allows you to choose which part of the response is used to be swapped in.static final String
Allows you to specify how the response will be swapped.static final String
A CSS selector that updates the target of the content update to a different element on the page.static final String
Can be used to trigger client side events.static final String
Can be used to trigger client side events after the settling step.static final String
Can be used to trigger client side events after the swap step. -
Method Summary
-
Field Details
-
HX_LOCATION
Allows you to do a client-side redirect that does not do a full page reload.- See Also:
-
HX_REPLACE_URL
Allows you to replace the current URL in the location bar.- See Also:
-
HX_PUSH_URL
Pushes a new url into the history stack.- See Also:
-
HX_REDIRECT
Can be used to do a client-side redirect to a new location.- See Also:
-
HX_REFRESH
Can be used to do a full refresh of the page on the client-side.- See Also:
-
HX_RETARGET
A CSS selector that updates the target of the content update to a different element on the page.- See Also:
-
HX_RESELECT
A CSS selector that allows you to choose which part of the response is used to be swapped in.- See Also:
-
HX_TRIGGER
Can be used to trigger client side events.- See Also:
-
HX_TRIGGER_AFTER_SETTLE
Can be used to trigger client side events after the settling step.- See Also:
-
HX_TRIGGER_AFTER_SWAP
Can be used to trigger client side events after the swap step.- See Also:
-
HX_RESWAP
Allows you to specify how the response will be swapped.- See Also:
-