Uses of Interface
eu.cloudnetservice.driver.network.rpc.object.ObjectMapper
Packages that use ObjectMapper
Package
Description
-
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc
Methods in eu.cloudnetservice.driver.network.rpc that return ObjectMapperModifier and TypeMethodDescriptionRPCProvider.objectMapper()Get the object mapper which is used for (de-) serialization of objects if needed.Methods in eu.cloudnetservice.driver.network.rpc with parameters of type ObjectMapperModifier and TypeMethodDescriptionRPCProvider.Builder.objectMapper(@NonNull ObjectMapper objectMapper) Sets the object mapper for serialization of objects during RPC execution related to the final rpc provider. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults
Fields in eu.cloudnetservice.driver.network.rpc.defaults declared as ObjectMapperModifier and TypeFieldDescriptionprivate final ObjectMapperDefaultRPCFactory.defaultObjectMapperprotected final ObjectMapperDefaultRPCProvider.objectMapperMethods in eu.cloudnetservice.driver.network.rpc.defaults that return ObjectMapperModifier and TypeMethodDescriptionDefaultRPCFactory.defaultObjectMapper()Get the default object mapper used by this factory.DefaultRPCProvider.objectMapper()Get the object mapper which is used for (de-) serialization of objects if needed.Constructors in eu.cloudnetservice.driver.network.rpc.defaults with parameters of type ObjectMapperModifierConstructorDescriptionDefaultRPCFactory(@NonNull ObjectMapper defaultObjectMapper, @NonNull DataBufFactory defaultDataBufFactory) Constructs a new default rpc provider factory instance.protectedDefaultRPCProvider(@NonNull Class<?> targetClass, @NonNull RPCFactory sourceFactory, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory) Constructs a new default rpc provider instance. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults.generation
Fields in eu.cloudnetservice.driver.network.rpc.defaults.generation declared as ObjectMapperModifier and TypeFieldDescriptionprivate ObjectMapperDefaultRPCImplementationBuilder.objectMapperMethods in eu.cloudnetservice.driver.network.rpc.defaults.generation with parameters of type ObjectMapperModifier and TypeMethodDescriptionDefaultRPCImplementationBuilder.objectMapper(@NonNull ObjectMapper objectMapper) Sets the object mapper for serialization of objects during RPC execution related to the final rpc provider.Constructors in eu.cloudnetservice.driver.network.rpc.defaults.generation with parameters of type ObjectMapperModifierConstructorDescriptionDefaultRPCImplementationBuilder(@NonNull RPCFactory sourceFactory, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory, @NonNull RPCClassMetadata classMetadata, @NonNull RPCGenerationCache generationCache) Constructs a new default implementation builder instance. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults.handler
Fields in eu.cloudnetservice.driver.network.rpc.defaults.handler declared as ObjectMapperMethods in eu.cloudnetservice.driver.network.rpc.defaults.handler with parameters of type ObjectMapperModifier and TypeMethodDescriptionDefaultRPCHandlerBuilder.objectMapper(@NonNull ObjectMapper objectMapper) Sets the object mapper for serialization of objects during RPC execution related to the final rpc provider.Constructors in eu.cloudnetservice.driver.network.rpc.defaults.handler with parameters of type ObjectMapperModifierConstructorDescription(package private)DefaultRPCHandler(@NonNull RPCFactory sourceFactory, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory, @Nullable Object boundInstance, @NonNull RPCClassMetadata targetClassMeta) Constructs a new rpc handler instance.DefaultRPCHandlerBuilder(@NonNull RPCFactory sourceFactory, @NonNull RPCClassMetadata classMetadata, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory) Constructs a new builder instance for the target class (given by the class metadata) and the default data buf factory / object mapper from the source RPC factory. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults.object
Classes in eu.cloudnetservice.driver.network.rpc.defaults.object that implement ObjectMapperModifier and TypeClassDescriptionclassThe default object mapper implementation.Fields in eu.cloudnetservice.driver.network.rpc.defaults.object declared as ObjectMapperMethods in eu.cloudnetservice.driver.network.rpc.defaults.object that return ObjectMapperModifier and TypeMethodDescription<T> @NonNull ObjectMapperDefaultObjectMapper.registerBinding(@NonNull Type type, @NonNull ObjectSerializer<T> serializer, boolean superTypes) Registers the given object serializer to this mapper, including all super types of the given type if requested.DefaultObjectMapper.unregisterBinding(@NonNull Type type, boolean superTypes) Unregisters all object serializers which were registered for the given type, include all super types of the given type if requested.DefaultObjectMapper.unregisterBindings(@NonNull ClassLoader classLoader) Unregisters all object serializers whose classes were loaded by the given class loader. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults.object.data
Methods in eu.cloudnetservice.driver.network.rpc.defaults.object.data with parameters of type ObjectMapperModifier and TypeMethodDescriptionDataClassCodec.deserialize(@NonNull DataBuf source, @NonNull ObjectMapper mapper) Deserializes the target object of this codec from the given buffer using the given object mapper to deserialize the field values.Reads the object from the buffer.voidDataClassCodec.serialize(DataBuf.Mutable target, @NonNull ObjectMapper mapper, @NonNull Object instance) Serializes the target object of this codec from the given instance into the given buffer using the given object mapper to serialize the field values.voidDataClassSerializer.write(DataBuf.Mutable dataBuf, @NonNull Object object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults.object.serializers
Methods in eu.cloudnetservice.driver.network.rpc.defaults.object.serializers with parameters of type ObjectMapperModifier and TypeMethodDescriptionCollectionObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.DataBufableObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.DataBufObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.DocumentObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.EnumObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.FunctionalObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.Reads the object from the buffer.OptionalObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.PathObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.PatternObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.UUIDObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.voidCollectionObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull Collection<?> object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidDataBufableObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull DataBufable object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidDataBufObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull DataBuf object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidDocumentObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull Document object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidEnumObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull Enum<?> object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidFunctionalObjectSerializer.write(DataBuf.Mutable dataBuf, T object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidMapObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull Map<?, ?> object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidOptionalObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull Optional<?> object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidPathObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull Path object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidPatternObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull Pattern object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidUUIDObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull UUID object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults.rpc
Fields in eu.cloudnetservice.driver.network.rpc.defaults.rpc declared as ObjectMapperModifier and TypeFieldDescriptionprivate final @NonNull ObjectMapperRPCResultMapper.objectMapperThe field for theobjectMapperrecord component.Methods in eu.cloudnetservice.driver.network.rpc.defaults.rpc that return ObjectMapperModifier and TypeMethodDescriptionRPCResultMapper.objectMapper()Returns the value of theobjectMapperrecord component.Constructors in eu.cloudnetservice.driver.network.rpc.defaults.rpc with parameters of type ObjectMapperModifierConstructorDescriptionDefaultRPC(@NonNull Class<?> targetClass, @NonNull RPCFactory sourceFactory, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory, @NonNull RPCSender sender, @NonNull Supplier<NetworkChannel> channelSupplier, @Nullable Duration executionTimeout, @NonNull RPCMethodMetadata targetMethod, @NonNull Object[] arguments) Constructs a new default rpc instance.(package private)RPCResultMapper(@NonNull Type expectedResultType, @NonNull ObjectMapper objectMapper) Creates an instance of aRPCResultMapperrecord class. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults.sender
Fields in eu.cloudnetservice.driver.network.rpc.defaults.sender declared as ObjectMapperMethods in eu.cloudnetservice.driver.network.rpc.defaults.sender with parameters of type ObjectMapperModifier and TypeMethodDescriptionDefaultRPCSenderBuilder.objectMapper(@NonNull ObjectMapper objectMapper) Sets the object mapper for serialization of objects during RPC execution related to the final rpc provider.Constructors in eu.cloudnetservice.driver.network.rpc.defaults.sender with parameters of type ObjectMapperModifierConstructorDescriptionDefaultRPCSender(@NonNull Class<?> targetClass, @NonNull RPCFactory sourceFactory, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory, @NonNull RPCClassMetadata rpcTargetMeta, @NonNull Supplier<NetworkChannel> channelSupplier) Constructs a new default rpc sender instance.DefaultRPCSenderBuilder(@NonNull RPCFactory sourceFactory, @NonNull RPCClassMetadata classMetadata, @NonNull DataBufFactory dataBufFactory, @NonNull ObjectMapper objectMapper) Constructs a new builder instance for the target class (given by the class metadata) and the default data buf factory / object mapper from the source RPC factory. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.object
Methods in eu.cloudnetservice.driver.network.rpc.object that return ObjectMapperModifier and TypeMethodDescription<T> @NonNull ObjectMapperObjectMapper.registerBinding(@NonNull Type type, @NonNull ObjectSerializer<T> serializer, boolean superTypes) Registers the given object serializer to this mapper, including all super types of the given type if requested.ObjectMapper.unregisterBinding(@NonNull Type type, boolean superTypes) Unregisters all object serializers which were registered for the given type, include all super types of the given type if requested.ObjectMapper.unregisterBindings(@NonNull ClassLoader classLoader) Unregisters all object serializers whose classes were loaded by the given class loader.Methods in eu.cloudnetservice.driver.network.rpc.object with parameters of type ObjectMapperModifier and TypeMethodDescriptiondefault booleanObjectSerializer.preReadCheckAccepts(@NonNull Type type, @NonNull ObjectMapper caller) A method being called before a serializer is chosen to deserialize an object of the given type.default booleanObjectSerializer.preWriteCheckAccepts(T object, @NonNull ObjectMapper caller) A method being called before a serializer is chosen to serialize the requested object.Reads the object from the buffer.voidObjectSerializer.write(DataBuf.Mutable dataBuf, T object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.