Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractClientMessage - Class in dev.hilla.push.messages.toclient
- AbstractClientMessage() - Constructor for class dev.hilla.push.messages.toclient.AbstractClientMessage
- AbstractClientMessage(String) - Constructor for class dev.hilla.push.messages.toclient.AbstractClientMessage
- AbstractServerMessage - Class in dev.hilla.push.messages.fromclient
- AbstractServerMessage() - Constructor for class dev.hilla.push.messages.fromclient.AbstractServerMessage
- ACCESS_DENIED_MSG - Static variable in class dev.hilla.auth.EndpointAccessChecker
- ACCESS_DENIED_MSG_DEV_MODE - Static variable in class dev.hilla.auth.EndpointAccessChecker
- addHotSwapListener(HotSwapListener) - Method in interface dev.hilla.internal.hotswap.EndpointHotSwapService
-
The method that enables registering
HotSwapListeners to be notified whenever anEndpointChangedEventis fired. - AndFilter - Class in dev.hilla.crud.filter
-
A filter that requires all children to pass.
- AndFilter() - Constructor for class dev.hilla.crud.filter.AndFilter
- ApplicationContextProvider - Class in dev.hilla
- ApplicationContextProvider() - Constructor for class dev.hilla.ApplicationContextProvider
- AuthenticationUtil - Class in dev.hilla
-
Helpers for authentication related tasks.
- AuthenticationUtil() - Constructor for class dev.hilla.AuthenticationUtil
B
- BrowserCallable - Annotation Interface in dev.hilla
-
Makes the methods of the annotated class available to the browser.
- browserLiveReload() - Method in record class dev.hilla.internal.hotswap.HotSwapListener.EndpointChangedEvent
-
Returns the value of the
browserLiveReloadrecord component. - buildDir() - Method in record class dev.hilla.internal.hotswap.HotSwapListener.EndpointChangedEvent
-
Returns the value of the
buildDirrecord component.
C
- check(Class<?>, HttpServletRequest) - Method in class dev.hilla.auth.EndpointAccessChecker
-
Check that the endpoint is accessible for the current user.
- check(Class<?>, Principal, Function<String, Boolean>) - Method in class dev.hilla.auth.EndpointAccessChecker
-
Check that the endpoint is accessible for the current user.
- check(Method, HttpServletRequest) - Method in class dev.hilla.auth.EndpointAccessChecker
-
Check that the endpoint is accessible for the current user.
- check(Method, Principal, Function<String, Boolean>) - Method in class dev.hilla.auth.EndpointAccessChecker
-
Check that the endpoint is accessible for the current user.
- check(String) - Method in class dev.hilla.EndpointNameChecker
-
Validates the Vaadin endpoint name given.
- checkValueForAnnotatedElement(Object, AnnotatedElement, boolean) - Method in class dev.hilla.ExplicitNullableTypeChecker
-
Validates the given value for the given expected method return value type.
- ClientMessageComplete - Class in dev.hilla.push.messages.toclient
- ClientMessageComplete() - Constructor for class dev.hilla.push.messages.toclient.ClientMessageComplete
- ClientMessageComplete(String) - Constructor for class dev.hilla.push.messages.toclient.ClientMessageComplete
- ClientMessageError - Class in dev.hilla.push.messages.toclient
- ClientMessageError() - Constructor for class dev.hilla.push.messages.toclient.ClientMessageError
- ClientMessageError(String, String) - Constructor for class dev.hilla.push.messages.toclient.ClientMessageError
- ClientMessageUpdate - Class in dev.hilla.push.messages.toclient
- ClientMessageUpdate() - Constructor for class dev.hilla.push.messages.toclient.ClientMessageUpdate
- ClientMessageUpdate(String, Object) - Constructor for class dev.hilla.push.messages.toclient.ClientMessageUpdate
- ConditionalOnFeatureFlag - Annotation Interface in dev.hilla
-
A condition for registering components only when a given feature flag is enabled.
- CONTAINS - Enum constant in enum class dev.hilla.crud.filter.PropertyStringFilter.Matcher
- count(Filter) - Method in interface dev.hilla.crud.CountService
-
Counts the number of entities that match the given filter.
- count(Filter) - Method in class dev.hilla.crud.ListRepositoryService
-
Counts the number of entities that match the given filter.
- CountService - Interface in dev.hilla.crud
-
A browser-callable service that can count the given type of objects with a given filter.
- CrudConfiguration - Class in dev.hilla.crud
- CrudConfiguration() - Constructor for class dev.hilla.crud.CrudConfiguration
- CrudRepositoryService<T,
ID, R extends org.springframework.data.repository.CrudRepository<T, ID> & org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>> - Class in dev.hilla.crud -
A browser-callable service that delegates crud operations to a JPA repository.
- CrudRepositoryService() - Constructor for class dev.hilla.crud.CrudRepositoryService
- CrudRepositoryService(R) - Constructor for class dev.hilla.crud.CrudRepositoryService
-
Creates the service using the given repository.
- CrudService<T,
ID> - Interface in dev.hilla.crud -
A browser-callable service that can create, read, update, and delete a given type of object.
- CsrfChecker - Class in dev.hilla.auth
-
Handles checking of a CSRF token in endpoint requests.
- CsrfChecker(ServletContext) - Constructor for class dev.hilla.auth.CsrfChecker
-
Creates a new csrf checker for the given context.
- CsrfIndexHtmlRequestListener - Class in dev.hilla.auth
-
An index HTML request listener that generates and sends a token for Cross-Site Request Forgery protection (Double Submit Cookie pattern) of endpoints.
- CsrfIndexHtmlRequestListener() - Constructor for class dev.hilla.auth.CsrfIndexHtmlRequestListener
- CsrfServiceInitListener - Class in dev.hilla.startup
-
A listener that creates and registers a
CsrfIndexHtmlRequestListener. - CsrfServiceInitListener() - Constructor for class dev.hilla.startup.CsrfServiceInitListener
D
- delete(ID) - Method in class dev.hilla.crud.CrudRepositoryService
- delete(ID) - Method in interface dev.hilla.crud.FormService
-
Deletes the object with the given id.
- deleteAll(Iterable<ID>) - Method in class dev.hilla.crud.CrudRepositoryService
-
Deletes the objects with the given ids.
- dev.hilla - package dev.hilla
- dev.hilla.auth - package dev.hilla.auth
- dev.hilla.crud - package dev.hilla.crud
- dev.hilla.crud.filter - package dev.hilla.crud.filter
- dev.hilla.endpointransfermapper - package dev.hilla.endpointransfermapper
- dev.hilla.exception - package dev.hilla.exception
- dev.hilla.internal.hotswap - package dev.hilla.internal.hotswap
- dev.hilla.push - package dev.hilla.push
- dev.hilla.push.messages.fromclient - package dev.hilla.push.messages.fromclient
- dev.hilla.push.messages.toclient - package dev.hilla.push.messages.toclient
- dev.hilla.springnative - package dev.hilla.springnative
- dev.hilla.startup - package dev.hilla.startup
E
- ECMA_SCRIPT_RESERVED_WORDS - Static variable in class dev.hilla.EndpointNameChecker
-
Set of reserved words in ECMAScript specification.
- Endpoint - Annotation Interface in dev.hilla
-
Annotation to mark the endpoints to be processed by
EndpointControllerclass. - ENDPOINT_MAPPER_FACTORY_BEAN_QUALIFIER - Static variable in class dev.hilla.EndpointController
-
A qualifier to override the request and response default json mapper.
- EndpointAccessChecker - Class in dev.hilla.auth
-
Component used for checking role-based ACL in Vaadin Endpoints.
- EndpointAccessChecker(AccessAnnotationChecker) - Constructor for class dev.hilla.auth.EndpointAccessChecker
-
Creates a new instance.
- EndpointAccessDeniedException(String) - Constructor for exception dev.hilla.EndpointInvocationException.EndpointAccessDeniedException
-
Creates a new instance.
- EndpointBadRequestException(String) - Constructor for exception dev.hilla.EndpointInvocationException.EndpointBadRequestException
-
Creates a new instance.
- endpointChanged(HotSwapListener.EndpointChangedEvent) - Method in interface dev.hilla.internal.hotswap.HotSwapListener
-
The method that is called when an
EndpointChangedEventis fired. - EndpointChangedEvent(Path, BrowserLiveReload) - Constructor for record class dev.hilla.internal.hotswap.HotSwapListener.EndpointChangedEvent
-
Creates an instance of a
EndpointChangedEventrecord class. - EndpointCodeGenerator - Class in dev.hilla
-
Handles (re)generation of the TypeScript code.
- EndpointCodeGenerator(VaadinContext, EndpointController) - Constructor for class dev.hilla.EndpointCodeGenerator
-
Creates the singleton.
- EndpointController - Class in dev.hilla
-
The controller that is responsible for processing Vaadin endpoint requests.
- EndpointController(ApplicationContext, EndpointRegistry, EndpointInvoker, CsrfChecker) - Constructor for class dev.hilla.EndpointController
-
A constructor used to initialize the controller.
- EndpointControllerConfiguration - Class in dev.hilla
-
A configuration class for customizing the
EndpointControllerclass. - EndpointControllerConfiguration(EndpointProperties) - Constructor for class dev.hilla.EndpointControllerConfiguration
-
Initializes the endpoint configuration.
- EndpointException - Exception in dev.hilla.exception
-
An exception that is intended to be thrown by any Vaadin endpoint method to propagate exception details to the client side.
- EndpointException(String) - Constructor for exception dev.hilla.exception.EndpointException
-
Creates an exception which information is propagated to the client since, if thrown from a Vaadin endpoint method.
- EndpointException(String, Object) - Constructor for exception dev.hilla.exception.EndpointException
-
Creates an exception which information is propagated to the client since, if thrown from a Vaadin endpoint method.
- EndpointException(String, Throwable) - Constructor for exception dev.hilla.exception.EndpointException
-
Creates an exception which information is propagated to the client since, if thrown from a Vaadin endpoint method.
- EndpointException(String, Throwable, Object) - Constructor for exception dev.hilla.exception.EndpointException
-
Creates an exception which information is propagated to the client since, if thrown from a Vaadin endpoint method.
- EndpointException(Throwable) - Constructor for exception dev.hilla.exception.EndpointException
-
Creates an exception which information is propagated to the client since, if thrown from a Vaadin endpoint method.
- EndpointExposed - Annotation Interface in dev.hilla
-
Annotation marks the class itself should not be treated as an
Endpoint, but inheritable methods will be added to the descendant Endpoints. - EndpointHotSwapService - Interface in dev.hilla.internal.hotswap
-
The service interface that defines the API for EndpointHotSwapService implementations.
- EndpointInternalException(String) - Constructor for exception dev.hilla.EndpointInvocationException.EndpointInternalException
-
Creates a new instance.
- EndpointInvocationException - Exception in dev.hilla
-
Exception thrown by EndpointInvoker when invocation fails.
- EndpointInvocationException(String) - Constructor for exception dev.hilla.EndpointInvocationException
-
Creates a new instance..
- EndpointInvocationException.EndpointAccessDeniedException - Exception in dev.hilla
-
Exception indicating access to the endpoint was denied.
- EndpointInvocationException.EndpointBadRequestException - Exception in dev.hilla
-
Exception indicating a problem with the request data.
- EndpointInvocationException.EndpointInternalException - Exception in dev.hilla
-
Exception indicating an unexpected server error occured during handling of the endpoint invocation.
- EndpointInvocationException.EndpointNotFoundException - Exception in dev.hilla
-
Exception indicating the endpoint was not found.
- EndpointInvoker - Class in dev.hilla
-
Handles invocation of endpoint methods after checking the user has proper access.
- EndpointInvoker(ApplicationContext, JacksonObjectMapperFactory, ExplicitNullableTypeChecker, ServletContext, EndpointRegistry) - Constructor for class dev.hilla.EndpointInvoker
-
Creates an instance of this bean.
- EndpointNameChecker - Class in dev.hilla
-
A checker responsible for validating the Vaadin endpoint names.
- EndpointNameChecker() - Constructor for class dev.hilla.EndpointNameChecker
- EndpointNotFoundException() - Constructor for exception dev.hilla.EndpointInvocationException.EndpointNotFoundException
-
Creates a new instance..
- EndpointProperties - Class in dev.hilla
-
Class that contains all Vaadin endpoint customizable properties.
- EndpointProperties() - Constructor for class dev.hilla.EndpointProperties
- EndpointRegistry - Class in dev.hilla
-
Keeps track of registered endpoints.
- EndpointRegistry(EndpointNameChecker) - Constructor for class dev.hilla.EndpointRegistry
-
Creates a new registry using the given name checker.
- EndpointRegistry.VaadinEndpointData - Class in dev.hilla
-
Tracks methods inside a given endpoint class.
- EndpointSubscription<TT> - Class in dev.hilla
-
A subscription that wraps a Flux and allows to listen for unsubscribe events from the browser.
- EndpointsValidator - Class in dev.hilla.startup
-
Validation class that is run during servlet container initialization which checks that application is running with the appropriate spring dependencies when there are
Endpointannotations. - EndpointsValidator() - Constructor for class dev.hilla.startup.EndpointsValidator
- EndpointTransferMapper - Class in dev.hilla.endpointransfermapper
-
Defines mappings for certain endpoint types to corresponding transfer types.
- EndpointTransferMapper() - Constructor for class dev.hilla.endpointransfermapper.EndpointTransferMapper
-
Creates a new instance.
- EndpointTransferMapper.Mapper<ENDPOINTTYPE,
TRANSFERTYPE> - Interface in dev.hilla.endpointransfermapper -
A mapper for endpoint values that is capable of converting between the given endpoint and transfer type.
- EndpointUtil - Class in dev.hilla
-
A util class related to classes available to the browser.
- EndpointUtil() - Constructor for class dev.hilla.EndpointUtil
- EndpointValidationException - Exception in dev.hilla.exception
-
A validation exception class that is intended to be thrown when any endpoint method receives invalid parameter(s).
- EndpointValidationException(EndpointValidationException.ValidationErrorData) - Constructor for exception dev.hilla.exception.EndpointValidationException
-
Creates a validation exception from the error data.
- EndpointValidationException(String, List<EndpointValidationException.ValidationErrorData>) - Constructor for exception dev.hilla.exception.EndpointValidationException
-
Creates a validation exception from a error data list.
- EndpointValidationException(List<EndpointValidationException.ValidationErrorData>) - Constructor for exception dev.hilla.exception.EndpointValidationException
-
Creates a validation exception from a error data list.
- EndpointValidationException.ValidationErrorData - Class in dev.hilla.exception
-
A validation error data.
- equals(Object) - Method in record class dev.hilla.internal.hotswap.HotSwapListener.EndpointChangedEvent
-
Indicates whether some other object is "equal to" this one.
- EQUALS - Enum constant in enum class dev.hilla.crud.filter.PropertyStringFilter.Matcher
- ERROR_MESSAGE_FIELD - Static variable in exception dev.hilla.exception.EndpointException
-
A message field to be used in the exception's serialization data in
EndpointException.getSerializationData(). - exists(ID) - Method in interface dev.hilla.crud.GetService
-
Checks if an object with the given id exists.
- exists(ID) - Method in class dev.hilla.crud.ListRepositoryService
- ExplicitNullableTypeChecker - Class in dev.hilla
-
A checker for TypeScript null compatibility in Vaadin endpoint methods parameter and return types.
- ExplicitNullableTypeChecker() - Constructor for class dev.hilla.ExplicitNullableTypeChecker
F
- FeatureFlagCondition - Class in dev.hilla
-
Checks if a given feature flag, defined using
ConditionalOnFeatureFlag, is enabled. - FeatureFlagCondition() - Constructor for class dev.hilla.FeatureFlagCondition
- Filter - Class in dev.hilla.crud.filter
-
Superclass for all filters to be used with CRUD services.
- Filter() - Constructor for class dev.hilla.crud.filter.Filter
- findOpenApiClasses(String) - Static method in class dev.hilla.OpenAPIUtil
-
Parses the given open api and finds all used classes.
- FormService<T,
ID> - Interface in dev.hilla.crud -
A browser-callable service that can create, update, and delete a given type of object.
G
- generateOpenAPI(Path) - Static method in class dev.hilla.OpenAPIUtil
-
Generate a new openapi.json and return it, based on the classes in the build directory.
- get(ID) - Method in interface dev.hilla.crud.GetService
-
Gets the object with the given id.
- get(ID) - Method in class dev.hilla.crud.ListRepositoryService
- getAccessAnnotationChecker() - Method in class dev.hilla.auth.EndpointAccessChecker
-
Returns the instance used for checking access based on annotations.
- getApplicationContext() - Static method in class dev.hilla.ApplicationContextProvider
- getChildren() - Method in class dev.hilla.crud.filter.AndFilter
- getChildren() - Method in class dev.hilla.crud.filter.OrFilter
- getClassesUsedInOpenApi() - Method in class dev.hilla.EndpointCodeGenerator
- getCurrentOpenAPI(Path) - Static method in class dev.hilla.OpenAPIUtil
-
Reads the open api file from the build directory.
- getDetail() - Method in exception dev.hilla.exception.EndpointException
-
Gets the detail of the exception, if provided by user,
nullotherwise. - getEndpointName() - Method in class dev.hilla.push.messages.fromclient.SubscribeMessage
- getEndpointObject() - Method in class dev.hilla.EndpointRegistry.VaadinEndpointData
- getEndpointPrefix() - Method in class dev.hilla.EndpointProperties
-
Customize the prefix for all Vaadin endpoints.
- getEndpointType() - Method in interface dev.hilla.endpointransfermapper.EndpointTransferMapper.Mapper
-
Returns the type used in the endpoint.
- getEndpointType() - Method in class dev.hilla.endpointransfermapper.PageableMapper
- getEndpointType() - Method in class dev.hilla.endpointransfermapper.PageMapper
- getEndpointType() - Method in class dev.hilla.endpointransfermapper.SortMapper
- getEndpointType() - Method in class dev.hilla.endpointransfermapper.UUIDMapper
- getFilterValue() - Method in class dev.hilla.crud.filter.PropertyStringFilter
-
Gets the filter value to compare against.
- getFlux() - Method in class dev.hilla.EndpointSubscription
-
Returns the flux value provide for this subscription.
- getId() - Method in class dev.hilla.push.messages.fromclient.AbstractServerMessage
- getId() - Method in class dev.hilla.push.messages.toclient.AbstractClientMessage
- getInstance() - Static method in class dev.hilla.EndpointCodeGenerator
-
Gets the singleton instance.
- getItem() - Method in class dev.hilla.push.messages.toclient.ClientMessageUpdate
- getJacksonModule() - Method in class dev.hilla.endpointransfermapper.EndpointTransferMapper
-
Gets the Jackson 2 module configured with the mapping serializers and deserializers.
- getMapper(Class<T>) - Method in class dev.hilla.endpointransfermapper.EndpointTransferMapper
-
Gets the mapper for the given endpoint type.
- getMatcher() - Method in class dev.hilla.crud.filter.PropertyStringFilter
-
The matcher, or operator, to use when comparing the property value to the filter value.
- getMessage() - Method in exception dev.hilla.EndpointInvocationException
-
Returns the additional message that is passed to the client side.
- getMessage() - Method in class dev.hilla.exception.EndpointValidationException.ValidationErrorData
-
Gets the validation error message.
- getMessage() - Method in class dev.hilla.push.messages.toclient.ClientMessageError
- getMethod(String) - Method in class dev.hilla.EndpointRegistry.VaadinEndpointData
-
Finds a method with the given name.
- getMethodName() - Method in class dev.hilla.push.messages.fromclient.SubscribeMessage
- getOnUnsubscribe() - Method in class dev.hilla.EndpointSubscription
-
Returns the callback that is invoked when the browser unsubscribes from the subscription.
- getParameterName() - Method in class dev.hilla.exception.EndpointValidationException.ValidationErrorData
-
Gets the parameter name that caused the validation error.
- getParams() - Method in class dev.hilla.push.messages.fromclient.SubscribeMessage
- getPollInterval() - Method in class dev.hilla.internal.hotswap.HotSwapConfigurationProperties
- getPropertyId() - Method in class dev.hilla.crud.filter.PropertyStringFilter
-
Gets the property, or nested property path, to filter by.
- getRepository() - Method in class dev.hilla.crud.ListRepositoryService
-
Accessor for the repository instance.
- getReturnType(String, String) - Method in class dev.hilla.EndpointInvoker
-
Gets the return type of the given method.
- getSecurityHolderAuthentication() - Static method in class dev.hilla.AuthenticationUtil
-
Gets the authenticated user from the Spring SecurityContextHolder.
- getSecurityHolderRoleChecker() - Static method in class dev.hilla.AuthenticationUtil
-
Gets a function for checking if the authenticated user from the Spring SecurityContextHolder is in a given role.
- getSerializationData() - Method in exception dev.hilla.exception.EndpointException
-
Creates a map with the serialization data to be sent to the client when the exception thrown is processed by
EndpointController. - getSerializationData() - Method in exception dev.hilla.exception.EndpointValidationException
- GetService<T,
ID> - Interface in dev.hilla.crud -
A browser-callable service that can fetch the given type of object.
- getTransferType() - Method in interface dev.hilla.endpointransfermapper.EndpointTransferMapper.Mapper
-
Returns the type used when transfering data to/from the client.
- getTransferType() - Method in class dev.hilla.endpointransfermapper.PageableMapper
- getTransferType() - Method in class dev.hilla.endpointransfermapper.PageMapper
- getTransferType() - Method in class dev.hilla.endpointransfermapper.SortMapper
- getTransferType() - Method in class dev.hilla.endpointransfermapper.UUIDMapper
- getTransferType(Class<?>) - Method in class dev.hilla.endpointransfermapper.EndpointTransferMapper
-
Gets the transfer type for the given endpoint type.
- getTransferType(String) - Method in class dev.hilla.endpointransfermapper.EndpointTransferMapper
-
Gets the transfer type for the given endpoint type.
- getValidationErrorData() - Method in exception dev.hilla.exception.EndpointValidationException
-
Gets the collection of the data on the validation errors.
- GREATER_THAN - Enum constant in enum class dev.hilla.crud.filter.PropertyStringFilter.Matcher
H
- handleBrowserConnect(String) - Method in class dev.hilla.push.PushMessageHandler
-
Called when the browser establishes a new connection.
- handleBrowserDisconnect(String) - Method in class dev.hilla.push.PushMessageHandler
-
Called when the browser connection has been lost.
- handleMessage(String, AbstractServerMessage, Consumer<AbstractClientMessage>) - Method in class dev.hilla.push.PushMessageHandler
-
Handles the message.
- hashCode() - Method in record class dev.hilla.internal.hotswap.HotSwapListener.EndpointChangedEvent
-
Returns a hash code value for this object.
- HillaHintsRegistrar - Class in dev.hilla.springnative
-
Registers runtime hints for Spring 3 native support for Hilla.
- HillaHintsRegistrar() - Constructor for class dev.hilla.springnative.HillaHintsRegistrar
- HotSwapConfiguration - Class in dev.hilla.internal.hotswap
- HotSwapConfiguration() - Constructor for class dev.hilla.internal.hotswap.HotSwapConfiguration
- hotSwapConfigurationProperties() - Method in class dev.hilla.internal.hotswap.HotSwapConfiguration
- HotSwapConfigurationProperties - Class in dev.hilla.internal.hotswap
- HotSwapConfigurationProperties() - Constructor for class dev.hilla.internal.hotswap.HotSwapConfigurationProperties
- HotSwapListener - Interface in dev.hilla.internal.hotswap
-
The interface that defines the contract for HotSwapListeners.
- HotSwapListener.EndpointChangedEvent - Record Class in dev.hilla.internal.hotswap
-
The event object that is passed to
endpointChangedmethod. - Hotswapper - Class in dev.hilla
-
Takes care of updating internals of Hilla that need updates when application classes are updated.
- Hotswapper() - Constructor for class dev.hilla.Hotswapper
I
- invoke(String, String, ObjectNode, Principal, Function<String, Boolean>) - Method in class dev.hilla.EndpointInvoker
-
Invoke the given endpoint method with the given parameters if the user has access to do so.
- isAnonymousEndpoint(HttpServletRequest) - Method in class dev.hilla.EndpointUtil
-
Checks if the given request goes to an anonymous (public) endpoint.
- isCsrfProtectionEnabled() - Method in class dev.hilla.auth.CsrfChecker
-
Checks if CSRF token checking in endpoints is enabled.
- isEnabled() - Method in class dev.hilla.internal.hotswap.HotSwapConfigurationProperties
- isEndpointRequest(HttpServletRequest) - Method in class dev.hilla.EndpointUtil
-
Checks if the request is for an endpoint.
- isInUse() - Static method in class dev.hilla.Hotswapper
- isRequired(boolean, List<AnnotationExpr>) - Static method in class dev.hilla.ExplicitNullableTypeChecker
-
Checks if the parsed node should be required (not nullable) in the generated Typescript code based on the list of annotations.
- isRequired(AnnotatedElement, boolean) - Static method in class dev.hilla.ExplicitNullableTypeChecker
-
Checks if the reflected element should be required (not nullable) in the generated Typescript code based on annotations.
J
- JpaFilterConverter - Class in dev.hilla.crud
-
Utility class for converting Hilla
Filterspecifications into JPA filter specifications. - JpaFilterConverter() - Constructor for class dev.hilla.crud.JpaFilterConverter
L
- LESS_THAN - Enum constant in enum class dev.hilla.crud.filter.PropertyStringFilter.Matcher
- list(Pageable, Filter) - Method in class dev.hilla.crud.ListRepositoryService
- list(Pageable, Filter) - Method in interface dev.hilla.crud.ListService
-
Lists objects of the given type using the paging, sorting and filtering options provided in the parameters.
- ListRepositoryService<T,
ID, R extends org.springframework.data.repository.CrudRepository<T, ID> & org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>> - Class in dev.hilla.crud -
A browser-callable service that delegates list operations to a JPA repository.
- ListRepositoryService() - Constructor for class dev.hilla.crud.ListRepositoryService
- ListRepositoryService(R) - Constructor for class dev.hilla.crud.ListRepositoryService
-
Creates the service using the given repository.
- ListService<T> - Interface in dev.hilla.crud
-
A browser-callable service that can list the given type of object.
M
- markInUse() - Static method in class dev.hilla.Hotswapper
- matches(ConditionContext, AnnotatedTypeMetadata) - Method in class dev.hilla.FeatureFlagCondition
- modifyIndexHtmlResponse(IndexHtmlResponse) - Method in class dev.hilla.auth.CsrfIndexHtmlRequestListener
- monitorChanges(Path, BrowserLiveReload) - Method in interface dev.hilla.internal.hotswap.EndpointHotSwapService
-
The method that starts the process for monitoring the changes in endpoints.
N
- Nonnull - Annotation Interface in dev.hilla
-
Annotation to mark either field, method, parameter or type parameter as non-nullable.
- Nullable - Annotation Interface in dev.hilla
-
Annotation to mark either field, method, parameter or type parameter as nullable.
O
- of(Flux<T>, Runnable) - Static method in class dev.hilla.EndpointSubscription
-
Creates a new endpoint subscription.
- onHotswap(Boolean, String[]) - Static method in class dev.hilla.Hotswapper
-
Called by hot swap solutions when one or more classes have been updated.
- onRequest(AtmosphereResource) - Method in class dev.hilla.push.PushEndpoint
- onStateChange(AtmosphereResourceEvent) - Method in class dev.hilla.push.PushEndpoint
- OpenAPIUtil - Class in dev.hilla
-
Utilities for interacting with the generated openapi.json.
- OpenAPIUtil() - Constructor for class dev.hilla.OpenAPIUtil
- OrFilter - Class in dev.hilla.crud.filter
-
A filter that requires at least one of its children to pass.
- OrFilter() - Constructor for class dev.hilla.crud.filter.OrFilter
P
- PageableMapper - Class in dev.hilla.endpointransfermapper
- PageableMapper() - Constructor for class dev.hilla.endpointransfermapper.PageableMapper
- PageMapper - Class in dev.hilla.endpointransfermapper
-
A mapper between
PageandList. - PageMapper() - Constructor for class dev.hilla.endpointransfermapper.PageMapper
- process(Set<Class<?>>, ServletContext) - Method in class dev.hilla.startup.EndpointsValidator
- PropertyStringFilter - Class in dev.hilla.crud.filter
-
A filter that matches a given property, or nested property path, against a filter value using the specified matcher.
- PropertyStringFilter() - Constructor for class dev.hilla.crud.filter.PropertyStringFilter
- PropertyStringFilter.Matcher - Enum Class in dev.hilla.crud.filter
- PropertyStringFilterSpecification<T> - Class in dev.hilla.crud
- PropertyStringFilterSpecification(PropertyStringFilter, Class<?>) - Constructor for class dev.hilla.crud.PropertyStringFilterSpecification
- PushConfigurer - Class in dev.hilla.push
-
Defines the beans needed for push in Hilla.
- PushConfigurer(EndpointProperties) - Constructor for class dev.hilla.push.PushConfigurer
-
Initializes the configuration for reactive endpoints.
- PushEndpoint - Class in dev.hilla.push
-
Sets up and configures the push channel.
- PushEndpoint() - Constructor for class dev.hilla.push.PushEndpoint
- PushMessageHandler - Class in dev.hilla.push
-
Handles incoming requests from the client and connects them to fluxes returned from endpoints.
- PushMessageHandler(EndpointInvoker) - Constructor for class dev.hilla.push.PushMessageHandler
-
Creates the instance.
R
- registerEndpoints() - Method in class dev.hilla.EndpointController
-
Initializes the controller by registering all endpoints found in the OpenApi definition or, as a fallback, in the Spring context.
- registerHints(RuntimeHints, ClassLoader) - Method in class dev.hilla.springnative.HillaHintsRegistrar
- resolveEntityClass() - Method in class dev.hilla.crud.ListRepositoryService
S
- save(T) - Method in class dev.hilla.crud.CrudRepositoryService
- save(T) - Method in interface dev.hilla.crud.FormService
-
Saves the given object and returns the (potentially) updated object.
- saveAll(Iterable<T>) - Method in class dev.hilla.crud.CrudRepositoryService
-
Saves the given objects and returns the (potentially) updated objects.
- serveEndpoint(String, String, ObjectNode, HttpServletRequest) - Method in class dev.hilla.EndpointController
-
Captures and processes the Vaadin endpoint requests.
- serviceInit(ServiceInitEvent) - Method in class dev.hilla.startup.CsrfServiceInitListener
- setApplicationContext(ApplicationContext) - Method in class dev.hilla.ApplicationContextProvider
- setChildren(List<Filter>) - Method in class dev.hilla.crud.filter.AndFilter
- setChildren(List<Filter>) - Method in class dev.hilla.crud.filter.OrFilter
- setCsrfProtection(boolean) - Method in class dev.hilla.auth.CsrfChecker
-
Enable or disable CSRF token checking in endpoints.
- setEnabled(boolean) - Method in class dev.hilla.internal.hotswap.HotSwapConfigurationProperties
- setEndpointName(String) - Method in class dev.hilla.push.messages.fromclient.SubscribeMessage
- setFilterValue(String) - Method in class dev.hilla.crud.filter.PropertyStringFilter
-
Sets the filter value to compare against.
- setId(String) - Method in class dev.hilla.push.messages.fromclient.AbstractServerMessage
- setId(String) - Method in class dev.hilla.push.messages.toclient.AbstractClientMessage
- setItem(Object) - Method in class dev.hilla.push.messages.toclient.ClientMessageUpdate
- setMatcher(PropertyStringFilter.Matcher) - Method in class dev.hilla.crud.filter.PropertyStringFilter
-
Sets the matcher, or operator, to use when comparing the property value to the filter value.
- setMethodName(String) - Method in class dev.hilla.push.messages.fromclient.SubscribeMessage
- setParams(ArrayNode) - Method in class dev.hilla.push.messages.fromclient.SubscribeMessage
- setPollInterval(int) - Method in class dev.hilla.internal.hotswap.HotSwapConfigurationProperties
- setPropertyId(String) - Method in class dev.hilla.crud.filter.PropertyStringFilter
-
Sets the property, or nested property path, to filter by.
- SortMapper - Class in dev.hilla.endpointransfermapper
-
A mapper between
SortandSort. - SortMapper() - Constructor for class dev.hilla.endpointransfermapper.SortMapper
- SubscribeMessage - Class in dev.hilla.push.messages.fromclient
- SubscribeMessage() - Constructor for class dev.hilla.push.messages.fromclient.SubscribeMessage
T
- toEndpointType(Pageable) - Method in class dev.hilla.endpointransfermapper.PageableMapper
- toEndpointType(Sort) - Method in class dev.hilla.endpointransfermapper.SortMapper
- toEndpointType(Object, Class<T>) - Method in class dev.hilla.endpointransfermapper.EndpointTransferMapper
-
Converts the given object from its transfer type to the given endpoint type.
- toEndpointType(String) - Method in class dev.hilla.endpointransfermapper.UUIDMapper
- toEndpointType(List<?>) - Method in class dev.hilla.endpointransfermapper.PageMapper
- toEndpointType(TRANSFERTYPE) - Method in interface dev.hilla.endpointransfermapper.EndpointTransferMapper.Mapper
-
Converts the given transfer value to the endpoint type.
- toPredicate(Root<T>, CriteriaQuery<?>, CriteriaBuilder) - Method in class dev.hilla.crud.PropertyStringFilterSpecification
- toSpec(Filter) - Method in class dev.hilla.crud.ListRepositoryService
-
Converts the given filter to a JPA specification.
- toSpec(Filter, Class<T>) - Method in class dev.hilla.crud.JpaFilterConverter
-
Converts the given Hilla filter specification into a JPA filter specification for the specified entity class.
- toString() - Method in class dev.hilla.crud.filter.AndFilter
- toString() - Method in class dev.hilla.crud.filter.OrFilter
- toString() - Method in class dev.hilla.crud.filter.PropertyStringFilter
- toString() - Method in record class dev.hilla.internal.hotswap.HotSwapListener.EndpointChangedEvent
-
Returns a string representation of this record class.
- toString() - Method in class dev.hilla.push.messages.toclient.ClientMessageComplete
- toString() - Method in class dev.hilla.push.messages.toclient.ClientMessageError
- toString() - Method in class dev.hilla.push.messages.toclient.ClientMessageUpdate
- toTransferType(ENDPOINTTYPE) - Method in interface dev.hilla.endpointransfermapper.EndpointTransferMapper.Mapper
-
Converts the given endpoint value to the transfer type.
- toTransferType(Object) - Method in class dev.hilla.endpointransfermapper.EndpointTransferMapper
-
Converts the given object from its endpoint type to its transfer type.
- toTransferType(UUID) - Method in class dev.hilla.endpointransfermapper.UUIDMapper
- toTransferType(Page<?>) - Method in class dev.hilla.endpointransfermapper.PageMapper
- toTransferType(Pageable) - Method in class dev.hilla.endpointransfermapper.PageableMapper
- toTransferType(Sort) - Method in class dev.hilla.endpointransfermapper.SortMapper
U
- UnsubscribeMessage - Class in dev.hilla.push.messages.fromclient
- UnsubscribeMessage() - Constructor for class dev.hilla.push.messages.fromclient.UnsubscribeMessage
- update() - Method in class dev.hilla.EndpointCodeGenerator
-
Re-generates the endpoint TypeScript and re-registers the endpoints in Java.
- UUIDMapper - Class in dev.hilla.endpointransfermapper
- UUIDMapper() - Constructor for class dev.hilla.endpointransfermapper.UUIDMapper
V
- validateCsrfTokenInRequest(HttpServletRequest) - Method in class dev.hilla.auth.CsrfChecker
-
Validates the CSRF token that is included in the request.
- ValidationErrorData(String) - Constructor for class dev.hilla.exception.EndpointValidationException.ValidationErrorData
-
Creates a validation error data object.
- ValidationErrorData(String, String) - Constructor for class dev.hilla.exception.EndpointValidationException.ValidationErrorData
-
Creates a validation error data object.
- value() - Element in annotation interface dev.hilla.ConditionalOnFeatureFlag
-
The id of the feature flag needed for the condition to be true.
- value() - Element in annotation interface dev.hilla.Endpoint
-
The name of an endpoint to use.
- valueOf(String) - Static method in enum class dev.hilla.crud.filter.PropertyStringFilter.Matcher
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.hilla.crud.filter.PropertyStringFilter.Matcher
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form