Serializable
| Modifier and Type | Field and Description |
|---|---|
| private final Set |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Stream | Returns: a stream ofjava serialization hintsReturn the |
| public SerializationHints | Returns: this, to facilitate method chainingthe type to register type, Consumer<JavaSerializationHint.a builder to further customize the serialization serializationHintRegister that the type defined by the specified |
| public SerializationHints | Returns: this, to facilitate method chainingthe type to register type)Register that the type defined by the specified |
| public SerializationHints | Returns: this, to facilitate method chainingthe type to register type, Consumer<JavaSerializationHint.a builder to further customize the serialization serializationHintRegister that the specified type need to be serialized using java serialization. |
| public SerializationHints | Returns: this, to facilitate method chainingthe type to register type)Register that the specified type need to be serialized using java serialization. |
| javaSerializationHints | back to summary |
|---|---|
| private final Set<JavaSerializationHint> javaSerializationHints | |
| SerializationHints | back to summary |
|---|---|
| public SerializationHints() | |
| javaSerializationHints | back to summary |
|---|---|
| public Stream Return the
| |
| registerType | back to summary |
|---|---|
| public SerializationHints registerType(TypeReference type, Consumer<JavaSerializationHint. Register that the type defined by the specified
| |
| registerType | back to summary |
|---|---|
| public SerializationHints registerType(TypeReference type) Register that the type defined by the specified
| |
| registerType | back to summary |
|---|---|
| public SerializationHints registerType(Class<? extends Serializable> type, Consumer<JavaSerializationHint. Register that the specified type need to be serialized using java serialization.
| |
| registerType | back to summary |
|---|---|
| public SerializationHints registerType(Class<? extends Serializable> type) Register that the specified type need to be serialized using java serialization.
| |