Package org.apache.pekko.serialization
Class SerializerDetails
java.lang.Object
org.apache.pekko.serialization.SerializerDetails
Constructor is internal API: Use the factories
create(java.lang.String, org.apache.pekko.serialization.Serializer, java.util.List<java.lang.Class<?>>) or apply(java.lang.String, org.apache.pekko.serialization.Serializer, scala.collection.immutable.Seq<java.lang.Class<?>>)
to construct-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalias()static SerializerDetailsapply(String alias, Serializer serializer, scala.collection.immutable.Seq<Class<?>> useFor) Scala API: factory for details about one programmatically setup serializerstatic SerializerDetailscreate(String alias, Serializer serializer, List<Class<?>> useFor) Java API: factory for details about one programmatically setup serializerscala.collection.immutable.Seq<Class<?>>useFor()
-
Constructor Details
-
SerializerDetails
public SerializerDetails()
-
-
Method Details
-
apply
public static SerializerDetails apply(String alias, Serializer serializer, scala.collection.immutable.Seq<Class<?>> useFor) Scala API: factory for details about one programmatically setup serializer- Parameters:
alias- Register the serializer under this alias (this allows it to be used by bindings in the config)useFor- A set of classes or superclasses to bind to the serializer, selection works just as if the classes, the alias and the serializer had been in the config.
-
create
Java API: factory for details about one programmatically setup serializer- Parameters:
alias- Register the serializer under this alias (this allows it to be used by bindings in the config)useFor- A set of classes or superclasses to bind to the serializer, selection works just as if the classes, the alias and the serializer had been in the config.
-
alias
-
serializer
-
useFor
-