Index
All Classes and Interfaces|All Packages
A
- addArgumentResolvers(List<HandlerMethodArgumentResolver>) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxMvcAutoConfiguration
- addInterceptors(InterceptorRegistry) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxMvcAutoConfiguration
- addReturnValueHandlers(List<HandlerMethodReturnValueHandler>) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxMvcAutoConfiguration
- addTemplate(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Deprecated.
- addTemplate(ModelAndView) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Deprecated.use
HtmxResponse.Builder.view(ModelAndView)
instead. Will be removed in 4.0. - addTemplate(View) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Deprecated.use
HtmxResponse.Builder.view(View)
instead. Will be removed in 4.0. - addTrigger(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Deprecated.use
HtmxResponse.Builder.trigger(String)
instead. Will be removed in 4.0. - addTrigger(String, String, HxTriggerLifecycle) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Deprecated.use
HtmxResponse.Builder.trigger(String, Object)
instead. Will be removed in 4.0. - AFTER_BEGIN - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxSwapType
- AFTER_END - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxSwapType
- afterBegin() - Static method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Insert the response before the first child of the target element.
- afterEnd() - Static method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Insert the response after the target element.
- and(HtmxResponse) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Deprecated.use
HtmxResponse.Builder.and(HtmxResponse)
instead. Will be removed in 4.0. - and(HtmxResponse) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Merges another
HtmxResponse
into this builder.
B
- BEFORE_BEGIN - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxSwapType
- BEFORE_END - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxSwapType
- beforeBegin() - Static method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Insert the response before the target element.
- beforeEnd() - Static method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Insert the response after the last child of the target element.
- boosted(boolean) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
- BOTTOM - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap.Position
- browserRedirect(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Deprecated.use
HtmxResponse.Builder.redirect(String)
instead. Will be removed in 4.0. - browserRefresh(boolean) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Deprecated.use
HtmxResponse.Builder.refresh()
instead. Will be removed in 4.0. - build() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
- build() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
- builder() - Static method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest
- builder() - Static method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Return a builder to build a
HtmxResponse
. - Builder() - Constructor for class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
C
- commence(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in class io.github.wimdeblauwe.htmx.spring.boot.security.HxRefreshHeaderAuthenticationEntryPoint
- createHtmxRequest(HttpServletRequest) - Static method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxHandlerMethodArgumentResolver
- currentUrl(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
D
- delete() - Static method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Deletes the target element regardless of the response.
- DELETE - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxSwapType
E
- empty() - Static method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest
- equals(Object) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- equals(Object) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
- equals(Object) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxTrigger
F
- focusScroll(boolean) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Enable or disable auto-scrolling to focused inputs between requests.
G
- getCurrentUrl() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest
-
The current URL of the browser when the htmx request was made.
- getCustomMethodCondition(Method) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequestMappingHandlerMapping
- getCustomTypeCondition(Class<?>) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequestMappingHandlerMapping
- getEvent() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- getEventDetail() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxTrigger
- getEventName() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxTrigger
- getFocusScroll() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
- getHandler() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- getHeaderName() - Method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxTriggerLifecycle
- getHeaderReswap() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Deprecated.use
HtmxResponse.getReswap()
instead. Will be removed in 4.0. - getHeaders() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- getLocation() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
- getPath() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- getPromptResponse() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest
-
The user response to an hx-prompt.
- getPushUrl() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
- getRedirect() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
- getReplaceUrl() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
- getRequestMappingHandlerMapping() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxMvcAutoConfiguration
- getReselect() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
- getReswap() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
- getRetarget() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
- getScroll() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
- getScrollTarget() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
- getSettle() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
- getShow() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
- getShowTarget() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
- getSource() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- getSwap() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- getSwap() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
- getTarget() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- getTarget() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest
-
The id of the target element if it exists.
- getTemplates() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Deprecated.use
HtmxResponse.getViews()
instead. Will be removed in 4.0. - getTriggerId() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest
-
The id of the triggered element if it exists.
- getTriggerName() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest
-
The name of the triggered element if it exists.
- getTriggers() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
- getTriggersAfterSettle() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
- getTriggersAfterSwap() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
- getType() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
- getValue() - Method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequestHeader
- getValue() - Method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHeader
- getValue() - Method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap.Position
- getValue() - Method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxSwapType
- getValues() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- getViews() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
H
- handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHandlerMethodReturnValueHandler
- hasContextData() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- hashCode() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- hashCode() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
- hashCode() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxTrigger
- historyRestoreRequest(boolean) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
- HtmxHandlerInterceptor - Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
- HtmxHandlerInterceptor() - Constructor for class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxHandlerInterceptor
- HtmxHandlerMethodArgumentResolver - Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
- HtmxHandlerMethodArgumentResolver() - Constructor for class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxHandlerMethodArgumentResolver
- HtmxLocation - Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
-
Represents the HX-Location response header value.
- HtmxLocation() - Constructor for class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- HtmxLocation(String) - Constructor for class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- HtmxMvcAutoConfiguration - Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
- HtmxRequest - Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
-
This class can be used as a controller method argument to access the htmx Request Headers.
- HtmxRequest.Builder - Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
- HtmxRequestHeader - Enum Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
-
Enum representing the request headers used by htmx.
- HtmxRequestMappingHandlerMapping - Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
- HtmxRequestMappingHandlerMapping() - Constructor for class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequestMappingHandlerMapping
- HtmxResponse - Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
-
Used as a controller method return type to specify htmx-related response headers and returning multiple template partials in a single response.
- HtmxResponse() - Constructor for class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Deprecated.use
HtmxResponse.builder()
instead. Will be removed in 4.0. - HtmxResponse.Builder - Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
- HtmxResponseHandlerMethodReturnValueHandler - Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
- HtmxResponseHandlerMethodReturnValueHandler(ViewResolver, ObjectFactory<LocaleResolver>, ObjectMapper) - Constructor for class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHandlerMethodReturnValueHandler
- HtmxResponseHeader - Enum Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
-
Enum representing the response headers used by htmx.
- HtmxReswap - Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
-
Represents a HX-Reswap response header value.
- HtmxReswap.Position - Enum Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
-
Represents the position values used for
HtmxReswap.scroll
orHtmxReswap.show
. - HtmxTrigger - Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
-
Represents a value of HX-Trigger, HX-Trigger-After-Settle or HX-Trigger-After-Swap.
- HtmxTrigger(String, Object) - Constructor for class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxTrigger
- HX_BOOSTED - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequestHeader
-
Indicates that the request comes from an element that uses hx-boost.
- HX_CURRENT_URL - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequestHeader
-
The current URL of the browser
- HX_HISTORY_RESTORE_REQUEST - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequestHeader
-
Indicates if the request is for history restoration after a miss in the local history cache.
- HX_LOCATION - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHeader
-
Allows you to do a client-side redirect that does not do a full page reload.
- HX_PROMPT - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequestHeader
-
Contains the user response to a hx-prompt.
- HX_PUSH_URL - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHeader
-
Pushes a new url into the history stack.
- HX_REDIRECT - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHeader
-
Can be used to do a client-side redirect to a new location.
- HX_REFRESH - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHeader
-
Can be used to do a full refresh of the page on the client-side.
- HX_REPLACE_URL - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHeader
-
Allows you to replace the current URL in the location bar.
- HX_REQUEST - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequestHeader
-
Only present and
true
if the request is issued by htmx. - HX_RESELECT - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHeader
-
A CSS selector that allows you to choose which part of the response is used to be swapped in.
- HX_RESWAP - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHeader
-
Allows you to specify how the response will be swapped.
- HX_RETARGET - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHeader
-
A CSS selector that updates the target of the content update to a different element on the page.
- HX_TARGET - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequestHeader
-
The
id
of the target element if it exists. - HX_TRIGGER - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequestHeader
-
The
id
of the triggered element if it exists. - HX_TRIGGER - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHeader
-
Can be used to trigger client side events.
- HX_TRIGGER_AFTER_SETTLE - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHeader
-
Can be used to trigger client side events after the settling step.
- HX_TRIGGER_AFTER_SWAP - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHeader
-
Can be used to trigger client side events after the swap step.
- HX_TRIGGER_NAME - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequestHeader
-
The
name
of the triggered element if it exists - HxRefresh - Annotation Interface in io.github.wimdeblauwe.htmx.spring.boot.mvc
-
Annotation that signals htmx that a full page refresh should be performed.
- HxRefreshHeaderAuthenticationEntryPoint - Class in io.github.wimdeblauwe.htmx.spring.boot.security
-
This class is not used by the library itself, but users of the library can use it to configure their security to have full page refreshes on auth failures.
- HxRefreshHeaderAuthenticationEntryPoint() - Constructor for class io.github.wimdeblauwe.htmx.spring.boot.security.HxRefreshHeaderAuthenticationEntryPoint
- HxRequest - Annotation Interface in io.github.wimdeblauwe.htmx.spring.boot.mvc
-
Annotation for mapping htmx requests onto specific handler method.
- HxSwapType - Enum Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
-
Represents the swap options.
- HxTrigger - Annotation Interface in io.github.wimdeblauwe.htmx.spring.boot.mvc
-
Annotation to trigger client side actions on the target element within a response to htmx.
- HxTriggerLifecycle - Enum Class in io.github.wimdeblauwe.htmx.spring.boot.mvc
-
Represents the HX-Trigger Response Headers.
I
- INNER_HTML - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxSwapType
- innerHtml() - Static method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Replace the inner html of the target element.
- io.github.wimdeblauwe.htmx.spring.boot.mvc - package io.github.wimdeblauwe.htmx.spring.boot.mvc
- io.github.wimdeblauwe.htmx.spring.boot.security - package io.github.wimdeblauwe.htmx.spring.boot.security
- isBoosted() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest
-
Indicates that the request is via an element using hx-boost.
- isHistoryRestoreRequest() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest
-
Indicates if the request is for history restoration after a miss in the local history cache
- isHtmxRequest() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest
- isRefresh() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
- isTransition() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
L
- lifecycle() - Element in annotation interface io.github.wimdeblauwe.htmx.spring.boot.mvc.HxTrigger
- location(HtmxLocation) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Allows you to do a client-side redirect that does not do a full page reload.
- location(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Allows you to do a client-side redirect that does not do a full page reload.
N
- none() - Static method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Does not append the response to target element (out of band items will still be processed).
- NONE - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxSwapType
O
- OUTER_HTML - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxSwapType
- outerHtml() - Static method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Replace the entire target element with the response.
P
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxHandlerInterceptor
- preventHistoryUpdate() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Prevents the browser history stack from being updated.
- promptResponse(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
- pushHistory(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Deprecated.use
HtmxResponse.Builder.pushUrl(String)
instead. Will be removed in 4.0. - pushUrl(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Pushes a new URL into the history stack of the browser.
R
- RECEIVE - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxTriggerLifecycle
-
Trigger events as soon as the response is received.
- redirect(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Can be used to do a client-side redirect to a new location
- refresh() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
If set to "true" the client side will do a full refresh of the page
- replaceUrl(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Allows you to replace the most recent entry, i.e.
- reselect(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Set a CSS selector that allows you to choose which part of the response is used to be swapped in.
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxHandlerMethodArgumentResolver
- reswap(HtmxReswap) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Set a new swap to specify how the response will be swapped.
- reswap(HxSwapType) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Deprecated.use
HtmxResponse.reswap(HxSwapType)
instead. Will be removed in 4.0. - retarget(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Set a CSS selector that updates the target of the content update to a different element on the page
- retarget(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse
-
Deprecated.use
HtmxResponse.Builder.retarget(String)
instead. Will be removed in 4.0.
S
- scroll(HtmxReswap.Position) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Changes the scrolling behavior of the target element.
- scrollTarget(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Used to target a different element for scrolling.
- setEvent(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- setHandler(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- setHeaders(Map<String, String>) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- setPath(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- setSource(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- setSwap(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- setTarget(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- settle(Duration) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Set the time that should elapse between the swap and the settle logic.
- SETTLE - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxTriggerLifecycle
-
Trigger events after the settling step.
- setValues(Map<String, Object>) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxLocation
- show(HtmxReswap.Position) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Changes the scrolling behavior of the target element.
- showTarget(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Used to target a different element for showing.
- supportsParameter(MethodParameter) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxHandlerMethodArgumentResolver
- supportsReturnType(MethodParameter) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHandlerMethodReturnValueHandler
- swap(Duration) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Set the time that should elapse after receiving a response to swap the content.
- SWAP - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxTriggerLifecycle
-
Trigger events after the swap step.
T
- target() - Element in annotation interface io.github.wimdeblauwe.htmx.spring.boot.mvc.HxRequest
-
Restricts the mapping to the
id
of a specific target element. - target(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
- toHeaderValue() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Returns a string representation for use as an HTTP header value.
- TOP - Enum constant in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap.Position
- toString() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
- transition() - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap
-
Enables the use of the new View Transitions API when a swap occurs.
- trigger(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Adds an event that will be triggered once the response is received.
- trigger(String, Object) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Adds an event that will be triggered once the response is received.
- triggerAfterSettle(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Adds an event that will be triggered after the settling step.
- triggerAfterSettle(String, Object) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Adds an event that will be triggered after the settling step.
- triggerAfterSwap(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Adds an event that will be triggered after the swap step.
- triggerAfterSwap(String, Object) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Adds an event that will be triggered after the swap step.
- triggerId() - Element in annotation interface io.github.wimdeblauwe.htmx.spring.boot.mvc.HxRequest
-
Restricts the mapping to the
id
of a specific triggered element. - triggerId(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
- triggerName() - Element in annotation interface io.github.wimdeblauwe.htmx.spring.boot.mvc.HxRequest
-
Restricts the mapping to the
name
of a specific triggered element. - triggerName(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
V
- value() - Element in annotation interface io.github.wimdeblauwe.htmx.spring.boot.mvc.HxRequest
-
Restricts the mapping to the
id
, if any, or to thename
of a specific triggered element. - value() - Element in annotation interface io.github.wimdeblauwe.htmx.spring.boot.mvc.HxTrigger
- valueOf(String) - Static method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequestHeader
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHeader
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap.Position
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxSwapType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxTriggerLifecycle
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequestHeader
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponseHeader
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxReswap.Position
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxSwapType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.wimdeblauwe.htmx.spring.boot.mvc.HxTriggerLifecycle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- view(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Append a view name to be resolved with
ViewResolver
implementations and used together with the implicit model. - view(ModelAndView) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Append a
ModelAndView
instance to use for rendering. - view(View) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxResponse.Builder
-
Append a
View
instance to use for rendering together with the implicit model.
W
- withBoosted(boolean) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
-
Deprecated.use
HtmxRequest.Builder.boosted(boolean)
instead. Will be removed in 4.0. - withCurrentUrl(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
-
Deprecated.use
HtmxRequest.Builder.currentUrl(String)
instead. Will be removed in 4.0. - withHistoryRestoreRequest(boolean) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
-
Deprecated.use
HtmxRequest.Builder.historyRestoreRequest(boolean)
instead. Will be removed in 4.0. - withPromptResponse(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
-
Deprecated.use
HtmxRequest.Builder.promptResponse(String)
instead. Will be removed in 4.0. - withTarget(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
-
Deprecated.use
HtmxRequest.Builder.target(String)
instead. Will be removed in 4.0. - withTriggerId(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
-
Deprecated.use
HtmxRequest.Builder.triggerId(String)
instead. Will be removed in 4.0. - withTriggerName(String) - Method in class io.github.wimdeblauwe.htmx.spring.boot.mvc.HtmxRequest.Builder
-
Deprecated.use
HtmxRequest.Builder.triggerName(String)
instead. Will be removed in 4.0.
All Classes and Interfaces|All Packages
HtmxResponse.Builder.view(String)
instead. Will be removed in 4.0.