Class HandlerSpecDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<HandlerSpec>
-
- me.snowdrop.istio.api.policy.v1beta1.HandlerSpecDeserializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider,MixerResourceDeserializer<HandlerSpec,HandlerParams>
public class HandlerSpecDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<HandlerSpec> implements MixerResourceDeserializer<HandlerSpec,HandlerParams>
- Author:
- Christophe Laprun
-
-
Field Summary
-
Fields inherited from interface me.snowdrop.istio.api.internal.MixerResourceDeserializer
HANDLER_TYPE_FIELD, INSTANCE_TYPE_FIELD, POLYMORPHIC_PARAMS_FIELD
-
-
Constructor Summary
Constructors Constructor Description HandlerSpecDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HandlerSpecdeserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext)Class<? extends HandlerParams>getImplementationClass(String compiledTemplate)HandlerSpecnewInstance()-
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface me.snowdrop.istio.api.internal.MixerResourceDeserializer
deserialize
-
-
-
-
Method Detail
-
deserialize
public HandlerSpec deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) throws IOException
- Specified by:
deserializein classcom.fasterxml.jackson.databind.JsonDeserializer<HandlerSpec>- Throws:
IOException
-
newInstance
public HandlerSpec newInstance()
- Specified by:
newInstancein interfaceMixerResourceDeserializer<HandlerSpec,HandlerParams>
-
getImplementationClass
public Class<? extends HandlerParams> getImplementationClass(String compiledTemplate)
- Specified by:
getImplementationClassin interfaceMixerResourceDeserializer<HandlerSpec,HandlerParams>
-
-