Class FetchEmitTupleDeserializer
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<FetchEmitTuple>
org.apache.tika.pipes.core.serialization.FetchEmitTupleDeserializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class FetchEmitTupleDeserializer
extends com.fasterxml.jackson.databind.JsonDeserializer<FetchEmitTuple>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
com.fasterxml.jackson.databind.JsonDeserializer.None -
Constructor Summary
ConstructorsConstructorDescriptionDeserializer for untrusted input: refuses system component ids. -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) static FetchEmitTupleDeserializerinternal()Deserializer for the parent-to-child IPC, whose tuples the host builds itself and which must therefore be able to name__components.Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
Constructor Details
-
FetchEmitTupleDeserializer
public FetchEmitTupleDeserializer()Deserializer for untrusted input: refuses system component ids. This is the default because forgetting to restrict a new caller must not be the thing that opens the gate.
-
-
Method Details
-
internal
Deserializer for the parent-to-child IPC, whose tuples the host builds itself and which must therefore be able to name__components. The parseContext stays restricted in both modes, so a request that slipped past the REST gate still cannot bind a wire-blocked component here. -
deserialize
public FetchEmitTuple deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) throws IOException, com.fasterxml.jackson.core.JacksonException - Specified by:
deserializein classcom.fasterxml.jackson.databind.JsonDeserializer<FetchEmitTuple>- Throws:
IOExceptioncom.fasterxml.jackson.core.JacksonException
-