Class EventSourceParser

java.lang.Object
io.featureflow.client.core.EventSourceParser

public class EventSourceParser extends Object
Event source handler based on netty implementation here: https://github.com/michaelklishin/eventsource-netty5/blob/master/src/main/java/io/opensensors/sse/client/impl/EventStreamParser.java
  • Method Details

    • line

      public void line(String line)
      Parse a single line up until the /n character
      Parameters:
      line - the line to parse