Uses of Interface
org.drasyl.node.handler.serialization.Serializer
Package
Description
Contains
DrasylNode
.Serialization of java objects to byte arrays and vice versa.
-
Uses of Serializer in org.drasyl.node
Modifier and TypeMethodDescriptionabstract com.google.common.collect.ImmutableMap<String,
Serializer> DrasylConfig.getSerializationSerializers()
static Map<String,
Serializer> DrasylConfig.getSerializationSerializers
(com.typesafe.config.Config config, String path) Modifier and TypeMethodDescriptionabstract DrasylConfig.Builder
DrasylConfig.Builder.serializationSerializers
(Map<String, Serializer> serializationSerializers) -
Uses of Serializer in org.drasyl.node.handler.serialization
Modifier 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.Modifier and TypeMethodDescriptionSerialization.findSerializerFor
(String clazzName) Returns the configuredSerializer
for the givenclazzName
.Modifier and TypeMethodDescriptionvoid
Serialization.addSerializer
(Class<?> clazz, Serializer serializer) Adds aserializer
as serializer for objects of typeclazz
.void
Serialization.removeSerializer
(Serializer serializer) Removes given serializer fromModifierConstructorDescriptionSerialization
(Map<String, Serializer> serializers, Map<Class<?>, String> bindings)