Uses of Class
org.springframework.aot.hint.JavaSerializationHint.Builder
Package
Description
Support for registering the need for reflection, resources, java
serialization and proxies at runtime.
-
Uses of JavaSerializationHint.Builder in org.springframework.aot.hint
Modifier and TypeMethodDescriptionJavaSerializationHint.Builder.onReachableType
(TypeReference reachableType) Make this hint conditional on the fact that the specified type can be resolved.Modifier and TypeMethodDescriptionSerializationHints.registerType
(Class<? extends Serializable> type, Consumer<JavaSerializationHint.Builder> serializationHint) Register that the specified type need to be serialized using java serialization.SerializationHints.registerType
(TypeReference type, Consumer<JavaSerializationHint.Builder> serializationHint) Register that the type defined by the specifiedTypeReference
need to be serialized using java serialization.