Index
All Classes and Interfaces|All Packages|Serialized Form
C
- canEncodeWithoutTypeInfo(Class<?>) - Static method in class com.flowingcode.vaadin.jsonmigration.JsonCodec
-
Helper for checking whether the type is supported by
JsonCodec.encodeWithoutTypeInfo(Object). - com.flowingcode.vaadin.jsonmigration - package com.flowingcode.vaadin.jsonmigration
- convertToClientCallableResult(T) - Static method in class com.flowingcode.vaadin.jsonmigration.JsonMigration
-
Converts a given Java object into the return type of a
method. - convertToJsonValue(Object) - Static method in class com.flowingcode.vaadin.jsonmigration.JsonMigration
-
Converts a given Java object into a
JsonValue.
D
- decodeAs(JsonValue, Class<T>) - Static method in class com.flowingcode.vaadin.jsonmigration.JsonCodec
-
Decodes the given JSON value as the given type.
E
- ElementalPendingJavaScriptResult - Interface in com.flowingcode.vaadin.jsonmigration
-
A pending result from a JavaScript snippet sent to the browser for evaluation.
- encodeWithoutTypeInfo(Object) - Static method in class com.flowingcode.vaadin.jsonmigration.JsonCodec
-
Helper for encoding any "primitive" value that is directly supported in JSON.
- executeJs(Element, String, Serializable...) - Static method in class com.flowingcode.vaadin.jsonmigration.JsonMigration
-
Asynchronously runs the given JavaScript expression in the browser in the context of this element.
G
- getEventData(DomEvent) - Static method in class com.flowingcode.vaadin.jsonmigration.JsonMigration
-
Gets additional data related to the event.
I
- InstrumentationViewInitializer - Class in com.flowingcode.vaadin.jsonmigration
-
Abstract base class for Vaadin service initializers that register instrumented views.
- InstrumentationViewInitializer() - Constructor for class com.flowingcode.vaadin.jsonmigration.InstrumentationViewInitializer
- instrumentClass(Class<T>) - Static method in class com.flowingcode.vaadin.jsonmigration.JsonMigration
-
Instruments a component class to ensure compatibility with Vaadin 25+ JSON handling changes in
ClientCallablemethods. - InstrumentedRoute - Annotation Type in com.flowingcode.vaadin.jsonmigration
-
Annotation to mark a
Componentclass for instrumented route registration.
J
- JsonCodec - Class in com.flowingcode.vaadin.jsonmigration
-
Utility for encoding objects to and from JSON.
- JsonCodec() - Constructor for class com.flowingcode.vaadin.jsonmigration.JsonCodec
- JsonMigration - Class in com.flowingcode.vaadin.jsonmigration
-
Provides a compatibility layer for JSON handling to abstract away breaking changes introduced in Vaadin version 25.
- JsonMigration() - Constructor for class com.flowingcode.vaadin.jsonmigration.JsonMigration
- JsonSerializer - Class in com.flowingcode.vaadin.jsonmigration
-
General-purpose serializer of Java objects to
JsonValueand deserializer of JsonValue to Java objects.
L
- LegacyClientCallable - Annotation Type in com.flowingcode.vaadin.jsonmigration
-
When instrumented, publishes the annotated method as if
ClientCallablehas been used.
R
- registerInstrumentedRoute(Class<? extends Component>) - Method in class com.flowingcode.vaadin.jsonmigration.InstrumentationViewInitializer
-
Registers an instrumented route for the given navigation target.
S
- setPropertyJson(Element, String, JsonValue) - Static method in class com.flowingcode.vaadin.jsonmigration.JsonMigration
-
Sets a JSON-valued property on a given
Element, transparently handling version-specific method signatures.
T
- then(SerializableConsumer<JsonValue>) - Method in interface com.flowingcode.vaadin.jsonmigration.ElementalPendingJavaScriptResult
-
Adds an untyped handler that will be run for a successful execution.
- then(SerializableConsumer<JsonValue>, SerializableConsumer<String>) - Method in interface com.flowingcode.vaadin.jsonmigration.ElementalPendingJavaScriptResult
-
Adds an untyped handler that will be run for a successful execution and a handler that will be run for a failed execution.
- then(Class<T>, SerializableConsumer<T>) - Method in interface com.flowingcode.vaadin.jsonmigration.ElementalPendingJavaScriptResult
-
Adds a typed handler that will be run for a successful execution.
- then(Class<T>, SerializableConsumer<T>, SerializableConsumer<String>) - Method in interface com.flowingcode.vaadin.jsonmigration.ElementalPendingJavaScriptResult
-
Adds a typed handler that will be run for a successful execution and a handler that will be run for a failed execution.
- toCompletableFuture() - Method in interface com.flowingcode.vaadin.jsonmigration.ElementalPendingJavaScriptResult
-
Creates an untyped completable future that will be completed with the result of the execution.
- toCompletableFuture(Class<T>) - Method in interface com.flowingcode.vaadin.jsonmigration.ElementalPendingJavaScriptResult
-
Creates a typed completable future that will be completed with the result of the execution.
- toJson(Object) - Static method in class com.flowingcode.vaadin.jsonmigration.JsonSerializer
-
Converts a Java bean, String, wrapper of primitive type or enum to a
JsonValue. - toJson(Collection<?>) - Static method in class com.flowingcode.vaadin.jsonmigration.JsonSerializer
-
Converts a collection of object into a
JsonArray, converting each item of the collection individually. - toObject(Class<T>, JsonValue) - Static method in class com.flowingcode.vaadin.jsonmigration.JsonSerializer
-
Converts a JsonValue to the corresponding Java object.
- toObjects(Class<T>, JsonArray) - Static method in class com.flowingcode.vaadin.jsonmigration.JsonSerializer
-
Converts a JsonArray into a collection of Java objects.
V
- value() - Element in annotation type com.flowingcode.vaadin.jsonmigration.InstrumentedRoute
-
The route path for this component.
All Classes and Interfaces|All Packages|Serialized Form