Type
- type to unmarshallpublic class NamespaceEnabledJacksonJsonUnmarshaller<Type> extends Object implements JsonUnmarshaller<Type>
JsonUnmarshaller
.Modifier | Constructor and Description |
---|---|
protected |
NamespaceEnabledJacksonJsonUnmarshaller(Class<Type> outputType,
Map<String,Class> validTypes)
Constructor for NamespaceEnabledJacksonJsonUnmarshaller.
|
Modifier and Type | Method and Description |
---|---|
Optional<UnmarshalledRequest<Type>> |
unmarshall(byte[] in)
Abstract method to unmarshall a given byte array.
|
static <Output> NamespaceEnabledJacksonJsonUnmarshaller<Output> |
withTypeBinding(Class<Output> outputType,
Map<String,Class> validTypes)
Return an instance of NamespaceEnabledJacksonJsonUnmarshaller.
|
public static <Output> NamespaceEnabledJacksonJsonUnmarshaller<Output> withTypeBinding(Class<Output> outputType, Map<String,Class> validTypes)
Output
- Type of NamespaceEnabledJacksonJsonUnmarshaller.outputType
- Output type after unmarshalling.validTypes
- Map of valid class types.NamespaceEnabledJacksonJsonUnmarshaller
.public Optional<UnmarshalledRequest<Type>> unmarshall(byte[] in)
unmarshall
in interface JsonUnmarshaller<Type>
in
- input byte array.Optional
of UnmarshalledRequest
.Copyright © 2023. All rights reserved.