public class SerializerUtil extends Object
RequestScopedServicesProvider
and RequestScoped
that has
EncryptionService
itself.Constructor and Description |
---|
SerializerUtil() |
Modifier and Type | Method and Description |
---|---|
boolean |
canSerialize(String canonicalName,
List<String> allowOnlyClassesWithPrefix) |
Object |
deserialize(@NotNull byte[] bytes,
@NotNull com.fasterxml.jackson.databind.ObjectMapper mapper,
@NotNull List<String> allowOnlyClassesWithPrefix,
@NotNull RequestScopedServicesProvider requestScoped) |
byte[] |
serialize(@NotNull Object data,
@NotNull com.fasterxml.jackson.databind.ObjectMapper mapper) |
public boolean canSerialize(String canonicalName, List<String> allowOnlyClassesWithPrefix)
public byte[] serialize(@NotNull @NotNull Object data, @NotNull @NotNull com.fasterxml.jackson.databind.ObjectMapper mapper)
public Object deserialize(@NotNull @NotNull byte[] bytes, @NotNull @NotNull com.fasterxml.jackson.databind.ObjectMapper mapper, @NotNull @NotNull List<String> allowOnlyClassesWithPrefix, @NotNull @NotNull RequestScopedServicesProvider requestScoped)
Copyright © 2020. All rights reserved.