Class ArrayBlockingQueueDeserializer
- java.lang.Object
 - 
- com.fasterxml.jackson.databind.JsonDeserializer<T>
 - 
- com.fasterxml.jackson.databind.deser.std.StdDeserializer<T>
 - 
- com.fasterxml.jackson.databind.deser.std.ContainerDeserializerBase<java.util.Collection<java.lang.Object>>
 - 
- com.fasterxml.jackson.databind.deser.std.CollectionDeserializer
 - 
- com.fasterxml.jackson.databind.deser.std.ArrayBlockingQueueDeserializer
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 ContextualDeserializer,NullValueProvider,ValueInstantiator.Gettable,java.io.Serializable
public class ArrayBlockingQueueDeserializer extends CollectionDeserializer
We need a custom deserializer both becauseArrayBlockingQueuehas no default constructor AND because it has size limit used for constructing underlying storage automatically.- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.deser.std.CollectionDeserializer
CollectionDeserializer.CollectionReferringAccumulator 
- 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
JsonDeserializer.None 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ArrayBlockingQueueDeserializer(JavaType containerType, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectdeserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)Base implementation that does not assume specific type inclusion mechanism.- 
Methods inherited from class com.fasterxml.jackson.databind.deser.std.CollectionDeserializer
createContextual, deserialize, deserialize, getContentDeserializer, getValueInstantiator, isCachable, logicalType 
- 
Methods inherited from class com.fasterxml.jackson.databind.deser.std.ContainerDeserializerBase
findBackReference, getContentType, getEmptyAccessPattern, getEmptyValue, getValueType, supportsUpdate 
- 
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
getValueClass, getValueType, handledType 
- 
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserializeWithType, getAbsentValue, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, replaceDelegatee, unwrappingDeserializer 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ArrayBlockingQueueDeserializer
public ArrayBlockingQueueDeserializer(JavaType containerType, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator)
 
 - 
 
- 
Method Detail
- 
deserializeWithType
public java.lang.Object deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) throws java.io.IOException
Description copied from class:StdDeserializerBase implementation that does not assume specific type inclusion mechanism. Sub-classes are expected to override this method if they are to handle type information.- Overrides:
 deserializeWithTypein classCollectionDeserializertypeDeserializer- Deserializer to use for handling type information- Throws:
 java.io.IOException
 
 - 
 
 -