Uses of Interface
io.fluxzero.common.api.SerializedObject
Packages that use SerializedObject
Package
Description
-
Uses of SerializedObject in io.fluxzero.common.api
Classes in io.fluxzero.common.api that implement SerializedObjectModifier and TypeClassDescriptionclassData<T>A generic container for holding a value along with serialization metadata such as type, revision, and format.classA serialized message value.Methods in io.fluxzero.common.api that return SerializedObjectModifier and TypeMethodDescriptionReturns a newSerializedObjectwith the given data object. -
Uses of SerializedObject in io.fluxzero.proxy
Methods in io.fluxzero.proxy with type parameters of type SerializedObjectModifier and TypeMethodDescription<I extends SerializedObject<byte[]>>
Stream<DeserializingObject<byte[], I>> ProxySerializer.deserialize(Stream<I> stream, UnknownTypeStrategy unknownTypeStrategy) Methods in io.fluxzero.proxy that return SerializedObjectModifier and TypeMethodDescriptionSerializedObject<byte[]> ProxySerializer.normalize(SerializedObject<?> serializedObject) Methods in io.fluxzero.proxy with parameters of type SerializedObjectModifier and TypeMethodDescriptionSerializedObject<byte[]> ProxySerializer.normalize(SerializedObject<?> serializedObject) -
Uses of SerializedObject in io.fluxzero.sdk.common.serialization
Classes in io.fluxzero.sdk.common.serialization with type parameters of type SerializedObjectModifier and TypeClassDescriptionclassDeserializingObject<T, S extends SerializedObject<T>>A wrapper around aSerializedObjectthat supports lazy deserialization of its payload.Methods in io.fluxzero.sdk.common.serialization with type parameters of type SerializedObjectModifier and TypeMethodDescription<S extends SerializedObject<byte[]>>
Stream<DeserializingObject<byte[], S>> AbstractSerializer.deserialize(Stream<S> dataStream, UnknownTypeStrategy unknownTypeStrategy) Deserializes a stream ofSerializedObjectvalues into deserialized objects.<I extends SerializedObject<byte[]>>
Stream<DeserializingObject<byte[], I>> Serializer.deserialize(Stream<I> dataStream, UnknownTypeStrategy unknownTypeStrategy) Upcasts and deserializes a stream of serialized objects.Methods in io.fluxzero.sdk.common.serialization that return SerializedObjectModifier and TypeMethodDescriptionSerializedObject<byte[]> AbstractSerializer.normalize(SerializedObject<?> serializedObject) SerializedObject<byte[]> Serializer.normalize(SerializedObject<?> serializedObject) Normalizes an already-serialized object to the target byte-based representation of this serializer.Methods in io.fluxzero.sdk.common.serialization with parameters of type SerializedObjectModifier and TypeMethodDescription<T> TAbstractSerializer.deserialize(SerializedObject<byte[]> serializedObject) Deserializes a single value directly when the caster chain guarantees that it cannot transform, split or drop that value.default <T> TSerializer.deserialize(SerializedObject<byte[]> data) Upcasts and deserializes the givenDataobject to an object of type T.default <T> TSerializer.deserialize(SerializedObject<byte[]> data, Class<T> type) Upcasts and deserializes the givenDataobject to an object of type T.protected Stream<DeserializingObject<byte[], ?>> AbstractSerializer.deserializeOtherFormat(SerializedObject<byte[]> s) Handles deserialization of objects in formats other than the current default (e.g., fallback string deserialization).protected Stream<DeserializingObject<byte[], ?>> AbstractSerializer.deserializeUnknownType(SerializedObject<?> serializedObject) Hook for handling deserialization of unknown types.SerializedObject<byte[]> AbstractSerializer.normalize(SerializedObject<?> serializedObject) SerializedObject<byte[]> Serializer.normalize(SerializedObject<?> serializedObject) Normalizes an already-serialized object to the target byte-based representation of this serializer.Class<?> AbstractSerializer.serializedClassWithoutUpcasting(SerializedObject<?> serializedObject) default Class<?> Serializer.serializedClassWithoutUpcasting(SerializedObject<?> serializedObject) Resolves the payload class when this serialized value is guaranteed not to require structural upcasting. -
Uses of SerializedObject in io.fluxzero.sdk.common.serialization.casting
Classes in io.fluxzero.sdk.common.serialization.casting with type parameters of type SerializedObjectModifier and TypeClassDescriptionclassDefaultCasterChain<T, S extends SerializedObject<T>>Default implementation of theCasterChaininterface used for managing and applying casting operations— typically upcasting or downcasting—onSerializedObjectinstances.Classes in io.fluxzero.sdk.common.serialization.casting that implement SerializedObjectModifier and TypeClassDescriptionprotected static classASerializedObjectwrapper that applies aConverterto translate data from one format to another.Classes in io.fluxzero.sdk.common.serialization.casting that implement interfaces with type arguments of type SerializedObjectModifier and TypeClassDescriptionprotected static classASerializedObjectwrapper that applies aConverterto translate data from one format to another.Methods in io.fluxzero.sdk.common.serialization.casting with type parameters of type SerializedObjectModifier and TypeMethodDescription<S extends SerializedObject<T>>
Stream<S> AnnotatedCaster.cast(S input) Applies the casting logic to the given serialized object if its type and revision match this caster’s parameters.protected static <T, S extends SerializedObject<T>>
CasterChain<S, S> DefaultCasterChain.create(Collection<?> casterCandidates, Class<T> dataType, boolean down) static <T, S extends SerializedObject<T>>
CasterChain<S, S> DefaultCasterChain.createDowncaster(Collection<?> casterCandidates, Class<T> dataType) Builds a downcaster chain from annotated candidates for the supplied serialized data type.static <T, S extends SerializedObject<T>>
CasterChain<S, S> DefaultCasterChain.createUpcaster(Collection<?> casterCandidates, Class<T> dataType) Builds an upcaster chain from annotated candidates for the supplied serialized data type.Methods in io.fluxzero.sdk.common.serialization.casting that return SerializedObjectModifier and TypeMethodDescriptionDefaultCasterChain.ConvertingSerializedObject.getResult()Returns the finalSerializedObjectafter conversion.Methods in io.fluxzero.sdk.common.serialization.casting that return types with arguments of type SerializedObjectModifier and TypeMethodDescriptionprotected static <BEFORE,INTERNAL>
CasterChain<SerializedObject<BEFORE>, SerializedObject<?>> DefaultCasterChain.create(Collection<?> casterCandidates, Converter<BEFORE, INTERNAL> converter, boolean down) protected static <BEFORE,INTERNAL>
CasterChain<SerializedObject<BEFORE>, SerializedObject<?>> DefaultCasterChain.create(Collection<?> casterCandidates, Converter<BEFORE, INTERNAL> converter, boolean down) protected static <BEFORE,INTERNAL>
CasterChain<SerializedObject<BEFORE>, SerializedObject<?>> DefaultCasterChain.create(Collection<?> casterCandidates, Converter<BEFORE, INTERNAL> converter, boolean down, UnaryOperator<String> inputTypeResolver) protected static <BEFORE,INTERNAL>
CasterChain<SerializedObject<BEFORE>, SerializedObject<?>> DefaultCasterChain.create(Collection<?> casterCandidates, Converter<BEFORE, INTERNAL> converter, boolean down, UnaryOperator<String> inputTypeResolver) static <BEFORE,INTERNAL>
CasterChain<SerializedObject<BEFORE>, SerializedObject<?>> DefaultCasterChain.createUpcaster(Collection<?> casterCandidates, Converter<BEFORE, INTERNAL> converter) Builds an upcaster chain from the candidate handlers, using the converter to bridge their internal data representation without normalizing incoming type identifiers before upcaster selection.static <BEFORE,INTERNAL>
CasterChain<SerializedObject<BEFORE>, SerializedObject<?>> DefaultCasterChain.createUpcaster(Collection<?> casterCandidates, Converter<BEFORE, INTERNAL> converter) Builds an upcaster chain from the candidate handlers, using the converter to bridge their internal data representation without normalizing incoming type identifiers before upcaster selection.static <BEFORE,INTERNAL>
CasterChain<SerializedObject<BEFORE>, SerializedObject<?>> DefaultCasterChain.createUpcaster(Collection<?> casterCandidates, Converter<BEFORE, INTERNAL> converter, UnaryOperator<String> inputTypeResolver) Creates an upcaster chain that normalizes serialized type identifiers before selecting a content upcaster.static <BEFORE,INTERNAL>
CasterChain<SerializedObject<BEFORE>, SerializedObject<?>> DefaultCasterChain.createUpcaster(Collection<?> casterCandidates, Converter<BEFORE, INTERNAL> converter, UnaryOperator<String> inputTypeResolver) Creates an upcaster chain that normalizes serialized type identifiers before selecting a content upcaster.Constructors in io.fluxzero.sdk.common.serialization.casting with parameters of type SerializedObjectModifierConstructorDescriptionConvertingSerializedObject(SerializedObject<I> source, Converter<I, O> converter) Constructs aConvertingSerializedObjectwith deferred conversion.Constructor parameters in io.fluxzero.sdk.common.serialization.casting with type arguments of type SerializedObjectModifierConstructorDescriptionAnnotatedCaster(Method method, CastParameters castParameters, Function<SerializedObject<T>, Stream<SerializedObject<T>>> castFunction) Creates a newAnnotatedCaster.AnnotatedCaster(Method method, CastParameters castParameters, Function<SerializedObject<T>, Stream<SerializedObject<T>>> castFunction) Creates a newAnnotatedCaster. -
Uses of SerializedObject in io.fluxzero.sdk.common.serialization.jackson
Methods in io.fluxzero.sdk.common.serialization.jackson with parameters of type SerializedObjectModifier and TypeMethodDescriptionprotected Stream<DeserializingObject<byte[], ?>> JacksonSerializer.deserializeUnknownType(SerializedObject<?> s) Fallback handler for deserialization of unknown types.