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
- AuthenticationUtil - Class in dev.hilla
-
Helpers for authentication related tasks.
- AuthenticationUtil() - Constructor for class dev.hilla.AuthenticationUtil
C
- 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.
- 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
- dev.hilla - package dev.hilla
- dev.hilla.auth - package dev.hilla.auth
- dev.hilla.endpointransfermapper - package dev.hilla.endpointransfermapper
- dev.hilla.exception - package dev.hilla.exception
- 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.
- 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. - 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
Endpoint. - 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.
- 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(). - 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
G
- getAccessAnnotationChecker() - Method in class dev.hilla.auth.EndpointAccessChecker
-
Returns the instance used for checking access based on annotations.
- 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
- 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
- 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.
- 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
- 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
- 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.
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.
- HillaHintsRegistrar - Class in dev.hilla.springnative
-
Registers runtime hints for Spring 3 native support for Hilla.
- HillaHintsRegistrar() - Constructor for class dev.hilla.springnative.HillaHintsRegistrar
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.
- isEndpointRequest(HttpServletRequest) - Method in class dev.hilla.EndpointUtil
-
Checks if the request is for an endpoint.
- 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.
M
- matches(ConditionContext, AnnotatedTypeMetadata) - Method in class dev.hilla.FeatureFlagCondition
- modifyIndexHtmlResponse(IndexHtmlResponse) - Method in class dev.hilla.auth.CsrfIndexHtmlRequestListener
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.
- onRequest(AtmosphereResource) - Method in class dev.hilla.push.PushEndpoint
- onStateChange(AtmosphereResourceEvent) - Method in class dev.hilla.push.PushEndpoint
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
- parseOpenApi(String) - Static method in class dev.hilla.springnative.HillaHintsRegistrar
-
Parses the given open api and finds the used custom types.
- process(Set<Class<?>>, ServletContext) - Method in class dev.hilla.startup.EndpointsValidator
- PushConfigurer - Class in dev.hilla.push
-
Defines the beans needed for push in Hilla.
- PushConfigurer() - Constructor for class dev.hilla.push.PushConfigurer
- 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
S
- 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
- setCsrfProtection(boolean) - Method in class dev.hilla.auth.CsrfChecker
-
Enable or disable CSRF token checking in endpoints.
- setEndpointName(String) - Method in class dev.hilla.push.messages.fromclient.SubscribeMessage
- 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
- setMethodName(String) - Method in class dev.hilla.push.messages.fromclient.SubscribeMessage
- setParams(ArrayNode) - Method in class dev.hilla.push.messages.fromclient.SubscribeMessage
- 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.
- 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
- 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.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form