Class JsonTokenEventHandlerAdaptor

java.lang.Object
org.apache.hc.core5.jackson2.JsonTokenEventHandlerAdaptor
All Implemented Interfaces:
JsonTokenConsumer

public final class JsonTokenEventHandlerAdaptor extends Object implements JsonTokenConsumer
JsonTokenConsumer implementation that converts JSON tokens into event signals for JsonTokenEventHandler.
Since:
5.5
  • Constructor Details

  • Method Details

    • accept

      public void accept(int tokenId, com.fasterxml.jackson.core.JsonParser jsonParser) throws IOException
      Description copied from interface: JsonTokenConsumer
      Triggered to signal JsonParser transition to a new token.
      Specified by:
      accept in interface JsonTokenConsumer
      Parameters:
      tokenId - Id representing of the current token held by the parser.
      jsonParser - the JSON parser.
      Throws:
      IOException
      See Also:
      • JsonTokenId