| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigKey.ConfigKeySerializer |
| Modifier and Type | Class and Description |
|---|---|
class |
FileSerializer
Serializer for
File. |
| Modifier and Type | Method and Description |
|---|---|
protected Serializer<?> |
AbstractSerializerCollection.createVia(SerializerResolver<?> resolver,
Type type,
Annotation... hints)
Create a new
Serializer for the given type and hints via a
specific resolver instance. |
<T> Serializer<T> |
AbstractSerializerCollection.find(Class<T> type) |
<T> Serializer<T> |
SerializerCollection.find(Class<T> type)
Find a serializer suitable for the specific type.
|
<T> Serializer<T> |
AbstractSerializerCollection.find(Class<T> type,
Annotation... hints) |
<T> Serializer<T> |
SerializerCollection.find(Class<T> type,
Annotation... hints)
Find a serializer suitable for the specific type.
|
Serializer<?> |
AbstractSerializerCollection.find(String name) |
Serializer<?> |
SerializerCollection.find(String name)
Find a serializer based on its registered name.
|
Serializer<?> |
AbstractSerializerCollection.find(String namespace,
String name) |
Serializer<?> |
SerializerCollection.find(String namespace,
String name)
Find a serializer based on its registered name.
|
Serializer<?> |
AbstractSerializerCollection.find(Type type) |
Serializer<?> |
SerializerCollection.find(Type type)
Find a serializer suitable for the specified type.
|
Serializer<?> |
AbstractSerializerCollection.find(Type type,
Annotation... hints) |
Serializer<?> |
SerializerCollection.find(Type type,
Annotation... hints)
Find a serializer suitable for the specified type.
|
Serializer<T> |
ReflectionSerializer.find(TypeEncounter encounter) |
<T> Serializer<T> |
AbstractSerializerCollection.findVia(Class<? extends SerializerOrResolver<T>> resolver,
Class<T> type,
Annotation... hints) |
<T> Serializer<T> |
SerializerCollection.findVia(Class<? extends SerializerOrResolver<T>> resolver,
Class<T> type,
Annotation... hints)
Find a serializer using a specific
SerializerResolver. |
<T> Serializer<T> |
AbstractSerializerCollection.findVia(Class<? extends SerializerOrResolver<T>> resolver,
Type type,
Annotation... hints) |
<T> Serializer<T> |
SerializerCollection.findVia(Class<? extends SerializerOrResolver<T>> resolver,
Type type,
Annotation... hints)
Find a serializer using a specific
SerializerResolver. |
| Modifier and Type | Method and Description |
|---|---|
<T> SerializerCollection |
AbstractSerializerCollection.bind(Class<T> type,
Serializer<T> serializer) |
<T> SerializerCollection |
SerializerCollection.bind(Class<T> type,
Serializer<T> serializer)
Bind a given type to the specified serializer.
|
protected <T> void |
AbstractSerializerCollection.bind(Class<T> type,
Serializer<T> serializer,
String ns,
String name) |
QualifiedName |
AbstractSerializerCollection.findName(Serializer<?> serializer) |
QualifiedName |
SerializerCollection.findName(Serializer<?> serializer)
Find the name of the given serializer (if any).
|
SerializerFormatDefinition.Builder |
SerializerFormatDefinition.Builder.list(Serializer<?> itemSerializer)
Define that we represent a list.
|
protected void |
AbstractSerializerCollection.registerIfNamed(Class<?> from,
Serializer<?> serializer)
Register the given serializer if it has a name.
|
SerializerFormatDefinition.Builder |
SerializerFormatDefinition.FieldBuilder.using(Serializer<?> serializer)
Define that this field uses the specified serializer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ArraySerializer
Serializer for arrays.
|
class |
ListSerializer<T>
Serializer for
List. |
class |
MapAsObjectSerializer<V> |
class |
SetSerializer<T>
Serializer for
List. |
| Modifier and Type | Method and Description |
|---|---|
Serializer<Map<?,?>> |
MapSerializerResolver.find(TypeEncounter encounter) |
Serializer<List<?>> |
ListSerializerResolver.find(TypeEncounter encounter) |
Serializer |
ArraySerializerResolver.find(TypeEncounter encounter) |
Serializer<Set<?>> |
SetSerializerResolver.find(TypeEncounter encounter) |
static Serializer<?> |
CollectionSerializers.resolveSerializer(TypeEncounter encounter,
Type type) |
| Constructor and Description |
|---|
ArraySerializer(Class<?> componentType,
Serializer<?> itemSerializer) |
ListSerializer(Serializer<T> itemSerializer) |
MapAsObjectSerializer(Serializer<V> serializer) |
SetSerializer(Serializer<T> itemSerializer) |
| Modifier and Type | Class and Description |
|---|---|
class |
EnumSerializer<T extends Enum<T>>
Serializer for
Enums. |
| Modifier and Type | Method and Description |
|---|---|
Serializer<Enum<?>> |
EnumSerializerResolver.find(TypeEncounter encounter) |
| Modifier and Type | Class and Description |
|---|---|
class |
DelayedSerializer<T>
Serializer that is delayed in that it will not be assigned until the entire
serializer chain is resolved.
|
| Modifier and Type | Method and Description |
|---|---|
SerializerFormatDefinition.Builder |
SerializerFormatDefinitionBuilderImpl.list(Serializer<?> itemSerializer) |
| Modifier and Type | Class and Description |
|---|---|
class |
ReflectionNonStreamingSerializer<T>
Serializer that uses only fields or methods.
|
class |
ReflectionStreamingSerializer<T>
Serializer that uses only fields or methods.
|
| Modifier and Type | Method and Description |
|---|---|
Serializer |
FieldDefinition.getSerializer() |
| Constructor and Description |
|---|
FieldDefinition(Field field,
String name,
Serializer serializer,
Class type,
boolean skipIfDefault) |
| Modifier and Type | Method and Description |
|---|---|
Serializer<T> |
SerializerResolverChain.find(TypeEncounter encounter) |
Serializer<T> |
SerializerResolver.find(TypeEncounter encounter)
Attempt to find a suitable serializer.
|
Serializer<T> |
StaticSerializerResolver.find(TypeEncounter encounter) |
| Modifier and Type | Method and Description |
|---|---|
void |
NamingCallback.registerIfNamed(Class<?> from,
Serializer<?> serializer) |
| Constructor and Description |
|---|
StaticSerializerResolver(Serializer<T> serializer) |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanSerializer
Serializer for
Boolean. |
class |
ByteArraySerializer
Serializer for byte arrays as they have special meaning in
StreamingInput and StreamingOutput. |
class |
CompactDynamicSerializer
Serializer that will attempt to dynamically resolve serializers based on
their name.
|
class |
DoubleSerializer
Serializer for
Double. |
class |
DynamicSerializer
Serializer that will attempt to dynamically resolve serializers based on
their name.
|
class |
FloatSerializer
Serializer for
Float. |
class |
IntSerializer
Serializer for
Integer. |
class |
LongSerializer
Serializer for
Long. |
class |
ShortSerializer
Serializer for
Short. |
class |
SimpleTypeSerializer
|
class |
StringSerializer
Serializer for
String. |
class |
UuidSerializer
Serializer for
UUID that transforms into a byte array. |
Copyright © 2016. All rights reserved.