Uses of Interface
org.drasyl.node.handler.serialization.Serializer
Packages that use Serializer
Package
Description
Contains
DrasylNode
.Serialization of java objects to byte arrays and vice versa.
-
Uses of Serializer in org.drasyl.node
Methods in org.drasyl.node that return types with arguments of type SerializerModifier and TypeMethodDescriptionabstract Map<String,
Serializer> DrasylConfig.getSerializationSerializers()
static Map<String,
Serializer> DrasylConfig.getSerializationSerializers
(com.typesafe.config.Config config, String path) Method parameters in org.drasyl.node with type arguments of type SerializerModifier and TypeMethodDescriptionabstract DrasylConfig.Builder
DrasylConfig.Builder.serializationSerializers
(Map<String, Serializer> serializationSerializers) -
Uses of Serializer in org.drasyl.node.handler.serialization
Classes in org.drasyl.node.handler.serialization that implement SerializerModifier and TypeClassDescriptionclass
This Serializer (de)serializesBoolean
objects.class
This Serializer (de)serializes byte arrays (just returns the byte array unchanged/uncopied).class
This Serializer (de)serializesByte
objects.class
This Serializer (de)serializesCharacter
objects.class
This handler denies any (de)serialization and can be used to disable existing serializers.class
This Serializer (de)serializesDouble
objects.class
This Serializer (de)serializesFloat
objects.class
This Serializer (de)serializesInteger
objects.class
A serializer based on the Jackson Library for converting java objects to and from JSON.class
This Serializer (de)serializesSerializable
objects.class
This Serializer (de)serializesLong
objects.class
This Serializer (de)serializesnull
only.class
This Serializer (de)serializesMessage
objects.class
This Serializer (de)serializesInteger
objects.class
This Serializer (de)serializesString
objects.Methods in org.drasyl.node.handler.serialization that return SerializerModifier and TypeMethodDescriptionSerialization.findSerializerFor
(String clazzName) Returns the configuredSerializer
for the givenclazzName
.Methods in org.drasyl.node.handler.serialization with parameters of type SerializerModifier and TypeMethodDescriptionvoid
Serialization.addSerializer
(Class<?> clazz, Serializer serializer) Adds aserializer
as serializer for objects of typeclazz
.void
Serialization.removeSerializer
(Serializer serializer) Removes given serializer fromConstructor parameters in org.drasyl.node.handler.serialization with type arguments of type SerializerModifierConstructorDescriptionSerialization
(Map<String, Serializer> serializers, Map<Class<?>, String> bindings)