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

    Constructors
    Constructor
    Description
    Deserializer for untrusted input: refuses system component ids.
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext)
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static FetchEmitTupleDeserializer 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:
      deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<FetchEmitTuple>
      Throws:
      IOException
      com.fasterxml.jackson.core.JacksonException